This file is indexed.

/usr/share/doc/python-django-mptt/html/mptt.models.html is in python-django-mptt 0.5.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>mptt.models &mdash; django-mptt v0.5.2 documentation</title>
    <link rel="stylesheet" href="static/default.css" type="text/css" />
    <link rel="stylesheet" href="static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '0.5.2',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="static/jquery.js"></script>
    <script type="text/javascript" src="static/underscore.js"></script>
    <script type="text/javascript" src="static/doctools.js"></script>
    <link rel="top" title="django-mptt v0.5.2 documentation" href="index.html" />
    <link rel="up" title="mptt" href="mptt.html" />
    <link rel="next" title="mptt.utils" href="mptt.utils.html" />
    <link rel="prev" title="mptt.managers" href="mptt.managers.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="mptt.utils.html" title="mptt.utils"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="mptt.managers.html" title="mptt.managers"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">django-mptt v0.5.2 documentation</a> &raquo;</li>
          <li><a href="autogenerated.html" >Autogenerated documentation</a> &raquo;</li>
          <li><a href="mptt.html" accesskey="U"><tt class="docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal"><span class="pre">mptt</span></tt></a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-mptt.models">
<span id="mptt-models"></span><h1><tt class="docutils literal"><span class="pre">mptt.models</span></tt><a class="headerlink" href="#module-mptt.models" title="Permalink to this headline"></a></h1>
<dl class="class">
<dt id="mptt.models.MPTTModel">
<em class="property">class </em><tt class="descclassname">mptt.models.</tt><tt class="descname">MPTTModel</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel" title="Permalink to this definition"></a></dt>
<dd><p>Base class for tree models.</p>
<dl class="class">
<dt id="mptt.models.MPTTModel.Meta">
<em class="property">class </em><tt class="descname">Meta</tt><a class="headerlink" href="#mptt.models.MPTTModel.Meta" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.delete">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">delete</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.delete" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_ancestors">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_ancestors</tt><big>(</big><em>ascending=False</em>, <em>include_self=False</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_ancestors" title="Permalink to this definition"></a></dt>
<dd><p>Creates a <tt class="docutils literal"><span class="pre">QuerySet</span></tt> containing the ancestors of this model
instance.</p>
<p>This defaults to being in descending order (root ancestor first,
immediate parent last); passing <tt class="xref docutils literal"><span class="pre">True</span></tt> for the <tt class="docutils literal"><span class="pre">ascending</span></tt>
argument will reverse the ordering (immediate parent first, root
ancestor last).</p>
<p>If <tt class="docutils literal"><span class="pre">include_self</span></tt> is <tt class="xref docutils literal"><span class="pre">True</span></tt>, the <tt class="docutils literal"><span class="pre">QuerySet</span></tt> will also
include this model instance.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_children">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_children</tt><big>(</big><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_children" title="Permalink to this definition"></a></dt>
<dd><p>Returns a <tt class="docutils literal"><span class="pre">QuerySet</span></tt> containing the immediate children of this
model instance, in tree order.</p>
<p>The benefit of using this method over the reverse relation
provided by the ORM to the instance&#8217;s children is that a
database query can be avoided in the case where the instance is
a leaf node (it has no children).</p>
<p>If called from a template where the tree has been walked by the
<tt class="docutils literal"><span class="pre">cache_tree_children</span></tt> filter, no database query is required.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_descendant_count">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_descendant_count</tt><big>(</big><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_descendant_count" title="Permalink to this definition"></a></dt>
<dd><p>Returns the number of descendants this model instance has.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_descendants">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_descendants</tt><big>(</big><em>include_self=False</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_descendants" title="Permalink to this definition"></a></dt>
<dd><p>Creates a <tt class="docutils literal"><span class="pre">QuerySet</span></tt> containing descendants of this model
instance, in tree order.</p>
<p>If <tt class="docutils literal"><span class="pre">include_self</span></tt> is <tt class="xref docutils literal"><span class="pre">True</span></tt>, the <tt class="docutils literal"><span class="pre">QuerySet</span></tt> will also
include this model instance.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_leafnodes">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_leafnodes</tt><big>(</big><em>include_self=False</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_leafnodes" title="Permalink to this definition"></a></dt>
<dd><p>Creates a <tt class="docutils literal"><span class="pre">QuerySet</span></tt> containing leafnodes of this model
instance, in tree order.</p>
<p>If <tt class="docutils literal"><span class="pre">include_self</span></tt> is <tt class="xref docutils literal"><span class="pre">True</span></tt>, the <tt class="docutils literal"><span class="pre">QuerySet</span></tt> will also
include this model instance (if it is a leaf node)</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_level">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_level</tt><big>(</big><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_level" title="Permalink to this definition"></a></dt>
<dd><p>Returns the level of this node (distance from root)</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_next_sibling">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_next_sibling</tt><big>(</big><em>**filters</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_next_sibling" title="Permalink to this definition"></a></dt>
<dd><p>Returns this model instance&#8217;s next sibling in the tree, or
<tt class="xref docutils literal"><span class="pre">None</span></tt> if it doesn&#8217;t have a next sibling.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_previous_sibling">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_previous_sibling</tt><big>(</big><em>**filters</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_previous_sibling" title="Permalink to this definition"></a></dt>
<dd><p>Returns this model instance&#8217;s previous sibling in the tree, or
<tt class="xref docutils literal"><span class="pre">None</span></tt> if it doesn&#8217;t have a previous sibling.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_root">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_root</tt><big>(</big><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_root" title="Permalink to this definition"></a></dt>
<dd><p>Returns the root node of this model instance&#8217;s tree.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.get_siblings">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">get_siblings</tt><big>(</big><em>include_self=False</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.get_siblings" title="Permalink to this definition"></a></dt>
<dd><p>Creates a <tt class="docutils literal"><span class="pre">QuerySet</span></tt> containing siblings of this model
instance. Root nodes are considered to be siblings of other root
nodes.</p>
<p>If <tt class="docutils literal"><span class="pre">include_self</span></tt> is <tt class="xref docutils literal"><span class="pre">True</span></tt>, the <tt class="docutils literal"><span class="pre">QuerySet</span></tt> will also
include this model instance.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.insert_at">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">insert_at</tt><big>(</big><em>target</em>, <em>position='first-child'</em>, <em>save=False</em>, <em>allow_existing_pk=False</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.insert_at" title="Permalink to this definition"></a></dt>
<dd><p>Convenience method for calling <tt class="docutils literal"><span class="pre">TreeManager.insert_node</span></tt> with this
model instance.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.is_ancestor_of">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">is_ancestor_of</tt><big>(</big><em>other</em>, <em>include_self=False</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.is_ancestor_of" title="Permalink to this definition"></a></dt>
<dd><p>Returns <tt class="xref docutils literal"><span class="pre">True</span></tt> if this model is an ancestor of the given node,
<tt class="xref docutils literal"><span class="pre">False</span></tt> otherwise.
If include_self is True, also returns True if the two nodes are the same node.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.is_child_node">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">is_child_node</tt><big>(</big><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.is_child_node" title="Permalink to this definition"></a></dt>
<dd><p>Returns <tt class="xref docutils literal"><span class="pre">True</span></tt> if this model instance is a child node, <tt class="xref docutils literal"><span class="pre">False</span></tt>
otherwise.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.is_descendant_of">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">is_descendant_of</tt><big>(</big><em>other</em>, <em>include_self=False</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.is_descendant_of" title="Permalink to this definition"></a></dt>
<dd><p>Returns <tt class="xref docutils literal"><span class="pre">True</span></tt> if this model is a descendant of the given node,
<tt class="xref docutils literal"><span class="pre">False</span></tt> otherwise.
If include_self is True, also returns True if the two nodes are the same node.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.is_leaf_node">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">is_leaf_node</tt><big>(</big><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.is_leaf_node" title="Permalink to this definition"></a></dt>
<dd><p>Returns <tt class="xref docutils literal"><span class="pre">True</span></tt> if this model instance is a leaf node (it has no
children), <tt class="xref docutils literal"><span class="pre">False</span></tt> otherwise.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.is_root_node">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">is_root_node</tt><big>(</big><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.is_root_node" title="Permalink to this definition"></a></dt>
<dd><p>Returns <tt class="xref docutils literal"><span class="pre">True</span></tt> if this model instance is a root node,
<tt class="xref docutils literal"><span class="pre">False</span></tt> otherwise.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.move_to">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">move_to</tt><big>(</big><em>target</em>, <em>position='first-child'</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.move_to" title="Permalink to this definition"></a></dt>
<dd><p>Convenience method for calling <tt class="docutils literal"><span class="pre">TreeManager.move_node</span></tt> with this
model instance.</p>
<p>NOTE: This is a low-level method; it does NOT respect <tt class="docutils literal"><span class="pre">MPTTMeta.order_insertion_by</span></tt>.
In most cases you should just move the node yourself by setting node.parent.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTModel.save">
<tt class="descclassname">MPTTModel.</tt><tt class="descname">save</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModel.save" title="Permalink to this definition"></a></dt>
<dd><p>If this is a new node, sets tree fields up before it is inserted
into the database, making room in the tree structure as neccessary,
defaulting to making the new node the last child of its parent.</p>
<p>It the node&#8217;s left and right edge indicators already been set, we
take this as indication that the node has already been set up for
insertion, so its tree fields are left untouched.</p>
<p>If this is an existing node and its parent has been changed,
performs reparenting in the tree structure, defaulting to making the
node the last child of its new parent.</p>
<p>In either case, if the node&#8217;s class has its <tt class="docutils literal"><span class="pre">order_insertion_by</span></tt>
tree option set, the node will be inserted or moved to the
appropriate position to maintain ordering by the specified field.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="mptt.models.MPTTModelBase">
<em class="property">class </em><tt class="descclassname">mptt.models.</tt><tt class="descname">MPTTModelBase</tt><a class="headerlink" href="#mptt.models.MPTTModelBase" title="Permalink to this definition"></a></dt>
<dd><p>Metaclass for MPTT models</p>
<dl class="classmethod">
<dt id="mptt.models.MPTTModelBase.register">
<em class="property">classmethod </em><tt class="descname">register</tt><big>(</big><em>meta</em>, <em>cls</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTModelBase.register" title="Permalink to this definition"></a></dt>
<dd><p>For the weird cases when you need to add tree-ness to an <em>existing</em>
class. For other cases you should subclass MPTTModel instead of calling this.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="mptt.models.MPTTOptions">
<em class="property">class </em><tt class="descclassname">mptt.models.</tt><tt class="descname">MPTTOptions</tt><big>(</big><em>opts=None</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTOptions" title="Permalink to this definition"></a></dt>
<dd><p>Options class for MPTT models. Use this as an inner class called <tt class="docutils literal"><span class="pre">MPTTMeta</span></tt>:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">MyModel</span><span class="p">(</span><span class="n">MPTTModel</span><span class="p">):</span>
    <span class="k">class</span> <span class="nc">MPTTMeta</span><span class="p">:</span>
        <span class="n">order_insertion_by</span> <span class="o">=</span> <span class="p">[</span><span class="s">&#39;name&#39;</span><span class="p">]</span>
        <span class="n">parent_attr</span> <span class="o">=</span> <span class="s">&#39;myparent&#39;</span>
</pre></div>
</div>
<dl class="method">
<dt id="mptt.models.MPTTOptions.get_ordered_insertion_target">
<tt class="descname">get_ordered_insertion_target</tt><big>(</big><em>node</em>, <em>parent</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTOptions.get_ordered_insertion_target" title="Permalink to this definition"></a></dt>
<dd><p>Attempts to retrieve a suitable right sibling for <tt class="docutils literal"><span class="pre">node</span></tt>
underneath <tt class="docutils literal"><span class="pre">parent</span></tt> (which may be <tt class="xref docutils literal"><span class="pre">None</span></tt> in the case of root
nodes) so that ordering by the fields specified by the node&#8217;s class&#8217;
<tt class="docutils literal"><span class="pre">order_insertion_by</span></tt> option is maintained.</p>
<p>Returns <tt class="xref docutils literal"><span class="pre">None</span></tt> if no suitable sibling can be found.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTOptions.get_raw_field_value">
<tt class="descname">get_raw_field_value</tt><big>(</big><em>instance</em>, <em>field_name</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTOptions.get_raw_field_value" title="Permalink to this definition"></a></dt>
<dd><p>Gets the value of the given fieldname for the instance.
This is not the same as getattr().
This function will return IDs for foreignkeys etc, rather than doing
a database query.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTOptions.insertion_target_filters">
<tt class="descname">insertion_target_filters</tt><big>(</big><em>instance</em>, <em>order_insertion_by</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTOptions.insertion_target_filters" title="Permalink to this definition"></a></dt>
<dd><p>Creates a filter which matches suitable right siblings for <tt class="docutils literal"><span class="pre">node</span></tt>,
where insertion should maintain ordering according to the list of
fields in <tt class="docutils literal"><span class="pre">order_insertion_by</span></tt>.</p>
<p>For example, given an <tt class="docutils literal"><span class="pre">order_insertion_by</span></tt> of
<tt class="docutils literal"><span class="pre">['field1',</span> <span class="pre">'field2',</span> <span class="pre">'field3']</span></tt>, the resulting filter should
correspond to the following SQL:</p>
<div class="highlight-python"><pre>field1 &gt; %s
OR (field1 = %s AND field2 &gt; %s)
OR (field1 = %s AND field2 = %s AND field3 &gt; %s)</pre>
</div>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTOptions.set_raw_field_value">
<tt class="descname">set_raw_field_value</tt><big>(</big><em>instance</em>, <em>field_name</em>, <em>value</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTOptions.set_raw_field_value" title="Permalink to this definition"></a></dt>
<dd><p>Sets the value of the given fieldname for the instance.
This is not the same as setattr().
This function requires an ID for a foreignkey (etc) rather than an instance.</p>
</dd></dl>

<dl class="method">
<dt id="mptt.models.MPTTOptions.update_mptt_cached_fields">
<tt class="descname">update_mptt_cached_fields</tt><big>(</big><em>instance</em><big>)</big><a class="headerlink" href="#mptt.models.MPTTOptions.update_mptt_cached_fields" title="Permalink to this definition"></a></dt>
<dd><dl class="docutils">
<dt>Caches (in an instance._mptt_cached_fields dict) the original values of:</dt>
<dd><ul class="first last simple">
<li>parent pk</li>
<li>fields specified in order_insertion_by</li>
</ul>
</dd>
</dl>
<p>These are used in pre_save to determine if the relevant fields have changed,
so that the MPTT fields need to be updated.</p>
</dd></dl>

</dd></dl>

</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h4>Previous topic</h4>
  <p class="topless"><a href="mptt.managers.html"
                        title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">mptt.managers</span></tt></a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="mptt.utils.html"
                        title="next chapter"><tt class="docutils literal"><span class="pre">mptt.utils</span></tt></a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="sources/mptt.models.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="mptt.utils.html" title="mptt.utils"
             >next</a> |</li>
        <li class="right" >
          <a href="mptt.managers.html" title="mptt.managers"
             >previous</a> |</li>
        <li><a href="index.html">django-mptt v0.5.2 documentation</a> &raquo;</li>
          <li><a href="autogenerated.html" >Autogenerated documentation</a> &raquo;</li>
          <li><a href="mptt.html" ><tt class="docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal"><span class="pre">mptt</span></tt></a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2007 - 2011, Jonathan Buchanan and others.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.8.
    </div>
  </body>
</html>