You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

155 line
7.4 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>multi_tenant Package &mdash; WNFramework v1.8 documentation</title>
  7. <link rel="stylesheet" href="_static/default.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '',
  12. VERSION: '1.8',
  13. COLLAPSE_INDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="_static/jquery.js"></script>
  19. <script type="text/javascript" src="_static/underscore.js"></script>
  20. <script type="text/javascript" src="_static/doctools.js"></script>
  21. <link rel="top" title="WNFramework v1.8 documentation" href="index.html" />
  22. <link rel="up" title="webnotes Package" href="webnotes.html" />
  23. <link rel="next" title="utils Package" href="webnotes.utils.html" />
  24. <link rel="prev" title="modules Package" href="webnotes.modules.html" />
  25. </head>
  26. <body>
  27. <div class="related">
  28. <h3>Navigation</h3>
  29. <ul>
  30. <li class="right" style="margin-right: 10px">
  31. <a href="genindex.html" title="General Index"
  32. accesskey="I">index</a></li>
  33. <li class="right" >
  34. <a href="py-modindex.html" title="Python Module Index"
  35. >modules</a> |</li>
  36. <li class="right" >
  37. <a href="webnotes.utils.html" title="utils Package"
  38. accesskey="N">next</a> |</li>
  39. <li class="right" >
  40. <a href="webnotes.modules.html" title="modules Package"
  41. accesskey="P">previous</a> |</li>
  42. <li><a href="index.html">WNFramework v1.8 documentation</a> &raquo;</li>
  43. <li><a href="webnotes.html" accesskey="U">webnotes Package</a> &raquo;</li>
  44. </ul>
  45. </div>
  46. <div class="document">
  47. <div class="documentwrapper">
  48. <div class="bodywrapper">
  49. <div class="body">
  50. <div class="section" id="multi-tenant-package">
  51. <h1>multi_tenant Package<a class="headerlink" href="#multi-tenant-package" title="Permalink to this headline">¶</a></h1>
  52. <div class="section" id="id1">
  53. <h2><tt class="xref py py-mod docutils literal"><span class="pre">multi_tenant</span></tt> Package<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
  54. <span class="target" id="module-webnotes.multi_tenant"></span></div>
  55. <div class="section" id="query-parser-module">
  56. <h2><tt class="xref py py-mod docutils literal"><span class="pre">query_parser</span></tt> Module<a class="headerlink" href="#query-parser-module" title="Permalink to this headline">¶</a></h2>
  57. </div>
  58. <div class="section" id="module-webnotes.multi_tenant.setup">
  59. <span id="setup-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">setup</span></tt> Module<a class="headerlink" href="#module-webnotes.multi_tenant.setup" title="Permalink to this headline">¶</a></h2>
  60. <dl class="function">
  61. <dt id="webnotes.multi_tenant.setup.add_tenant_id">
  62. <tt class="descclassname">webnotes.multi_tenant.setup.</tt><tt class="descname">add_tenant_id</tt><big>(</big><em>tname</em><big>)</big><a class="reference internal" href="_modules/webnotes/multi_tenant/setup.html#add_tenant_id"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.multi_tenant.setup.add_tenant_id" title="Permalink to this definition">¶</a></dt>
  63. <dd></dd></dl>
  64. <dl class="function">
  65. <dt id="webnotes.multi_tenant.setup.change_primary_key">
  66. <tt class="descclassname">webnotes.multi_tenant.setup.</tt><tt class="descname">change_primary_key</tt><big>(</big><em>tname</em><big>)</big><a class="reference internal" href="_modules/webnotes/multi_tenant/setup.html#change_primary_key"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.multi_tenant.setup.change_primary_key" title="Permalink to this definition">¶</a></dt>
  67. <dd></dd></dl>
  68. <dl class="function">
  69. <dt id="webnotes.multi_tenant.setup.setup_tables">
  70. <tt class="descclassname">webnotes.multi_tenant.setup.</tt><tt class="descname">setup_tables</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/multi_tenant/setup.html#setup_tables"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.multi_tenant.setup.setup_tables" title="Permalink to this definition">¶</a></dt>
  71. <dd></dd></dl>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <div class="sphinxsidebar">
  78. <div class="sphinxsidebarwrapper">
  79. <p class="logo"><a href="index.html">
  80. <img class="logo" src="_static/wnflogo200.gif" alt="Logo"/>
  81. </a></p>
  82. <h3><a href="index.html">Table Of Contents</a></h3>
  83. <ul>
  84. <li><a class="reference internal" href="#">multi_tenant Package</a><ul>
  85. <li><a class="reference internal" href="#id1"><tt class="docutils literal"><span class="pre">multi_tenant</span></tt> Package</a></li>
  86. <li><a class="reference internal" href="#query-parser-module"><tt class="docutils literal"><span class="pre">query_parser</span></tt> Module</a></li>
  87. <li><a class="reference internal" href="#module-webnotes.multi_tenant.setup"><tt class="docutils literal"><span class="pre">setup</span></tt> Module</a></li>
  88. </ul>
  89. </li>
  90. </ul>
  91. <h4>Previous topic</h4>
  92. <p class="topless"><a href="webnotes.modules.html"
  93. title="previous chapter">modules Package</a></p>
  94. <h4>Next topic</h4>
  95. <p class="topless"><a href="webnotes.utils.html"
  96. title="next chapter">utils Package</a></p>
  97. <h3>This Page</h3>
  98. <ul class="this-page-menu">
  99. <li><a href="_sources/webnotes.multi_tenant.txt"
  100. rel="nofollow">Show Source</a></li>
  101. </ul>
  102. <div id="searchbox" style="display: none">
  103. <h3>Quick search</h3>
  104. <form class="search" action="search.html" method="get">
  105. <input type="text" name="q" size="18" />
  106. <input type="submit" value="Go" />
  107. <input type="hidden" name="check_keywords" value="yes" />
  108. <input type="hidden" name="area" value="default" />
  109. </form>
  110. <p class="searchtip" style="font-size: 90%">
  111. Enter search terms or a module, class or function name.
  112. </p>
  113. </div>
  114. <script type="text/javascript">$('#searchbox').show(0);</script>
  115. </div>
  116. </div>
  117. <div class="clearer"></div>
  118. </div>
  119. <div class="related">
  120. <h3>Navigation</h3>
  121. <ul>
  122. <li class="right" style="margin-right: 10px">
  123. <a href="genindex.html" title="General Index"
  124. >index</a></li>
  125. <li class="right" >
  126. <a href="py-modindex.html" title="Python Module Index"
  127. >modules</a> |</li>
  128. <li class="right" >
  129. <a href="webnotes.utils.html" title="utils Package"
  130. >next</a> |</li>
  131. <li class="right" >
  132. <a href="webnotes.modules.html" title="modules Package"
  133. >previous</a> |</li>
  134. <li><a href="index.html">WNFramework v1.8 documentation</a> &raquo;</li>
  135. <li><a href="webnotes.html" >webnotes Package</a> &raquo;</li>
  136. </ul>
  137. </div>
  138. <div class="footer">
  139. &copy; Copyright 2011, Rushabh Mehta, Web Notes Technologies.
  140. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
  141. </div>
  142. </body>
  143. </html>