Skip to content
Browse files

Updated and rendered docs

  • Loading branch information...
1 parent 53a203a commit 234bc9f96369e633999c3a07e87fafcae3ebfdb3 @coordt coordt committed
View
20 doc_src/index.rst
@@ -6,27 +6,17 @@ Django Categories grew out of our need to provide a basic hierarchical taxonomy
As a news site, our stories, photos, and other content get divided into "sections" and we wanted all the apps to use the same set of sections. As our needs grew, the Django Categories grew in the functionality it gave to category handling within web pages.
-New in 1.0
+New in 1.1
==========
-**Abstract Base Class for generic hierarchical category models**
- When you want a multiple types of categories and don't want them all part of the same model, you can now easily create new models by subclassing ``CategoryBase``. You can also add additional metadata as necessary.
-
- Your model's can subclass ``CategoryBaseAdminForm`` and ``CategoryBaseAdmin`` to get the hierarchical management in the admin.
-
- See the docs for more information.
+* Fixed a cosmetic bug in the Django 1.4 admin. Action checkboxes now only appear once.
-**Increased the default caching time on views**
- The default setting for ``CACHE_VIEW_LENGTH`` was ``0``, which means it would tell the browser to *never* cache the page. It is now ``600``, which is the default for `CACHE_MIDDLEWARE_SECONDS <https://docs.djangoproject.com/en/1.3/ref/settings/#cache-middleware-seconds>`_
+* Template tags are refactored to allow easy use of any model derived from ``CategoryBase``.
-**Updated for use with Django-MPTT 0.5**
- Just a few tweaks.
+* Improved test suite.
-**Initial compatibility with Django 1.4**
- More is coming, but at least it works.
+* Improved some of the documentation.
-**Slug transliteration for non-ASCII characters**
- A new setting, ``SLUG_TRANSLITERATOR``, allows you to specify a function for converting the non-ASCII characters to ASCII characters before the slugification. Works great with `Unidecode <http://pypi.python.org/pypi/Unidecode>`_.
Contents
View
2 docs/_sources/custom_categories.txt
@@ -18,7 +18,7 @@ For many cases, you want a simple user-managed lookup table. You can do this wit
#. Create a subclass of CategoryBaseAdmin.
- .. literalinclude:: code_examples/custom_categories1.py
+ .. literalinclude:: code_examples/custom_categories2.py
:linenos:
#. Register your model and custom model admin class.
View
20 docs/_sources/index.txt
@@ -6,27 +6,17 @@ Django Categories grew out of our need to provide a basic hierarchical taxonomy
As a news site, our stories, photos, and other content get divided into "sections" and we wanted all the apps to use the same set of sections. As our needs grew, the Django Categories grew in the functionality it gave to category handling within web pages.
-New in 1.0
+New in 1.1
==========
-**Abstract Base Class for generic hierarchical category models**
- When you want a multiple types of categories and don't want them all part of the same model, you can now easily create new models by subclassing ``CategoryBase``. You can also add additional metadata as necessary.
-
- Your model's can subclass ``CategoryBaseAdminForm`` and ``CategoryBaseAdmin`` to get the hierarchical management in the admin.
-
- See the docs for more information.
+* Fixed a cosmetic bug in the Django 1.4 admin. Action checkboxes now only appear once.
-**Increased the default caching time on views**
- The default setting for ``CACHE_VIEW_LENGTH`` was ``0``, which means it would tell the browser to *never* cache the page. It is now ``600``, which is the default for `CACHE_MIDDLEWARE_SECONDS <https://docs.djangoproject.com/en/1.3/ref/settings/#cache-middleware-seconds>`_
+* Template tags are refactored to allow easy use of any model derived from ``CategoryBase``.
-**Updated for use with Django-MPTT 0.5**
- Just a few tweaks.
+* Improved test suite.
-**Initial compatibility with Django 1.4**
- More is coming, but at least it works.
+* Improved some of the documentation.
-**Slug transliteration for non-ASCII characters**
- A new setting, ``SLUG_TRANSLITERATOR``, allows you to specify a function for converting the non-ASCII characters to ASCII characters before the slugification. Works great with `Unidecode <http://pypi.python.org/pypi/Unidecode>`_.
Contents
View
5 docs/_static/basic.css
@@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
- * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@@ -413,7 +413,7 @@ dl.glossary dt {
}
.footnote:target {
- background-color: #ffa
+ background-color: #ffa;
}
.line-block {
@@ -444,6 +444,7 @@ dl.glossary dt {
pre {
overflow: auto;
+ overflow-y: hidden; /* fixes display issues on Chrome browsers */
}
td.linenos pre {
View
2 docs/_static/doctools.js
@@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilties for all documentation.
*
- * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
View
2 docs/_static/searchtools.js
@@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilties for the full-text search.
*
- * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
View
2 docs/_static/sidebar.js
@@ -16,7 +16,7 @@
* Once the browser is closed the cookie is deleted and the position
* reset to the default (expanded).
*
- * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
View
10 docs/adding_the_fields.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Adding the fields to the database &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Adding the fields to the database &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,13 +21,13 @@
<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 Categories v1.0.5 documentation" href="index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="index.html" />
<link rel="next" title="Creating Custom Categories" href="custom_categories.html" />
<link rel="prev" title="Registering Models" href="registering_models.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Adding the fields to the database</h1></div>
@@ -113,7 +113,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
44 docs/custom_categories.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Creating Custom Categories &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Creating Custom Categories &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,13 +21,13 @@
<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 Categories v1.0.5 documentation" href="index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="index.html" />
<link rel="next" title="Reference" href="reference/index.html" />
<link rel="prev" title="Adding the fields to the database" href="adding_the_fields.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Creating Custom Categories</h1></div>
@@ -119,23 +119,25 @@
</td></tr></table></div>
</li>
<li><p class="first">Create a subclass of CategoryBaseAdmin.</p>
-<div class="highlight-python"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1
-2
-3
-4
-5
-6
-7
-8
-9</pre></div></td><td class="code"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">categories.models</span> <span class="kn">import</span> <span class="n">CategoryBase</span>
+<div class="highlight-python"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre> 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10</pre></div></td><td class="code"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">django.contrib</span> <span class="kn">import</span> <span class="n">admin</span>
-<span class="k">class</span> <span class="nc">SimpleCategory</span><span class="p">(</span><span class="n">CategoryBase</span><span class="p">):</span>
- <span class="sd">&quot;&quot;&quot;</span>
-<span class="sd"> A simple of catgorizing example</span>
-<span class="sd"> &quot;&quot;&quot;</span>
-
- <span class="k">class</span> <span class="nc">Meta</span><span class="p">:</span>
- <span class="n">verbose_name_plural</span> <span class="o">=</span> <span class="s">&#39;simple categories&#39;</span>
+<span class="kn">from</span> <span class="nn">categories.admin</span> <span class="kn">import</span> <span class="n">CategoryBaseAdmin</span>
+
+<span class="kn">from</span> <span class="nn">.models</span> <span class="kn">import</span> <span class="n">SimpleCategory</span>
+
+<span class="k">class</span> <span class="nc">SimpleCategoryAdmin</span><span class="p">(</span><span class="n">CategoryBaseAdmin</span><span class="p">):</span>
+ <span class="k">pass</span>
+
+<span class="n">admin</span><span class="o">.</span><span class="n">site</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">SimpleCategory</span><span class="p">,</span> <span class="n">SimpleCategoryAdmin</span><span class="p">)</span>
</pre></div>
</td></tr></table></div>
</li>
@@ -325,7 +327,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
62 docs/genindex.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Index &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Index &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,11 +21,11 @@
<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 Categories v1.0.5 documentation" href="index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="index.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Index</h1></div>
@@ -87,91 +87,91 @@ <h1 id="index">Index</h1>
<a href="#A"><strong>A</strong></a> | <a href="#C"><strong>C</strong></a> | <a href="#D"><strong>D</strong></a> | <a href="#M"><strong>M</strong></a> | <a href="#N"><strong>N</strong></a> | <a href="#O"><strong>O</strong></a> | <a href="#P"><strong>P</strong></a> | <a href="#R"><strong>R</strong></a> | <a href="#S"><strong>S</strong></a> | <a href="#T"><strong>T</strong></a>
</div>
<h2 id="A">A</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#CategoryBase.active">active (CategoryBase attribute)</a></dt>
<dt><a href="reference/models.html#Category.alternate_title">alternate_title (Category attribute)</a></dt>
</dl></td>
- <td width="33%" valign="top"><dl>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#Category.alternate_url">alternate_url (Category attribute)</a></dt>
</dl></td>
</tr></table>
<h2 id="C">C</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#Category">Category (built-in class)</a></dt>
</dl></td>
- <td width="33%" valign="top"><dl>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#CategoryBase">CategoryBase (built-in class)</a></dt>
</dl></td>
</tr></table>
<h2 id="D">D</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#Category.description">description (Category attribute)</a></dt>
</dl></td>
</tr></table>
<h2 id="M">M</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#Category.meta_extra">meta_extra (Category attribute)</a></dt>
</dl></td>
- <td width="33%" valign="top"><dl>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#Category.meta_keywords">meta_keywords (Category attribute)</a></dt>
</dl></td>
</tr></table>
<h2 id="N">N</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#CategoryBase.name">name (CategoryBase attribute)</a></dt>
</dl></td>
</tr></table>
<h2 id="O">O</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#CategoryBase.objects">objects (CategoryBase attribute)</a></dt>
</dl></td>
- <td width="33%" valign="top"><dl>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#Category.order">order (Category attribute)</a></dt>
</dl></td>
</tr></table>
<h2 id="P">P</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#CategoryBase.parent">parent (CategoryBase attribute)</a></dt>
</dl></td>
</tr></table>
<h2 id="R">R</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="registering_models.html#register_fk">register_fk() (built-in function)</a></dt>
</dl></td>
- <td width="33%" valign="top"><dl>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="registering_models.html#register_m2m">register_m2m() (built-in function)</a></dt>
</dl></td>
</tr></table>
<h2 id="S">S</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#CategoryBase.slug">slug (CategoryBase attribute)</a></dt>
</dl></td>
</tr></table>
<h2 id="T">T</h2>
-<table width="100%" class="indextable genindextable"><tr>
- <td width="33%" valign="top"><dl>
+<table style="width: 100%" class="indextable genindextable"><tr>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#Category.thumbnail">thumbnail (Category attribute)</a></dt>
<dt><a href="reference/models.html#Category.thumbnail_height">thumbnail_height (Category attribute)</a></dt>
</dl></td>
- <td width="33%" valign="top"><dl>
+ <td style="width: 33%" valign="top"><dl>
<dt><a href="reference/models.html#Category.thumbnail_width">thumbnail_width (Category attribute)</a></dt>
<dt><a href="reference/models.html#CategoryBase.tree">tree (CategoryBase attribute)</a></dt>
</dl></td>
@@ -185,7 +185,7 @@ <h2 id="T">T</h2>
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
10 docs/getting_started.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Getting Started &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Getting Started &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,13 +21,13 @@
<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 Categories v1.0.5 documentation" href="index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="index.html" />
<link rel="next" title="Using categories in templates" href="usage.html" />
<link rel="prev" title="Installation" href="installation.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Getting Started</h1></div>
@@ -152,7 +152,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
41 docs/index.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Django Categories v 1.0 &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Django Categories v 1.1 &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,15 +21,15 @@
<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 Categories v1.0.5 documentation" href="#" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="#" />
<link rel="next" title="Installation" href="installation.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
- <div id="title"><h1>Django Categories v 1.0</h1></div>
+ <div id="title"><h1>Django Categories v 1.1</h1></div>
<ul id="headerButtons">
<li id="toc_button"><div class="headerButton"><a href="#">Table of Contents</a></div></li>
<li id="page_buttons">
@@ -85,26 +85,17 @@
<div class="body">
<div class="section" id="django-categories-v-version">
-<h1>Django Categories v 1.0<a class="headerlink" href="#django-categories-v-version" title="Permalink to this headline">¶</a></h1>
+<h1>Django Categories v 1.1<a class="headerlink" href="#django-categories-v-version" title="Permalink to this headline">¶</a></h1>
<p>Django Categories grew out of our need to provide a basic hierarchical taxonomy management system that multiple applications could use independently or in concert.</p>
<p>As a news site, our stories, photos, and other content get divided into &#8220;sections&#8221; and we wanted all the apps to use the same set of sections. As our needs grew, the Django Categories grew in the functionality it gave to category handling within web pages.</p>
-<div class="section" id="new-in-1-0">
-<h2>New in 1.0<a class="headerlink" href="#new-in-1-0" title="Permalink to this headline">¶</a></h2>
-<dl class="docutils">
-<dt><strong>Abstract Base Class for generic hierarchical category models</strong></dt>
-<dd><p class="first">When you want a multiple types of categories and don&#8217;t want them all part of the same model, you can now easily create new models by subclassing <tt class="docutils literal"><span class="pre">CategoryBase</span></tt>. You can also add additional metadata as necessary.</p>
-<p>Your model&#8217;s can subclass <tt class="docutils literal"><span class="pre">CategoryBaseAdminForm</span></tt> and <tt class="docutils literal"><span class="pre">CategoryBaseAdmin</span></tt> to get the hierarchical management in the admin.</p>
-<p class="last">See the docs for more information.</p>
-</dd>
-<dt><strong>Increased the default caching time on views</strong></dt>
-<dd>The default setting for <tt class="docutils literal"><span class="pre">CACHE_VIEW_LENGTH</span></tt> was <tt class="docutils literal"><span class="pre">0</span></tt>, which means it would tell the browser to <em>never</em> cache the page. It is now <tt class="docutils literal"><span class="pre">600</span></tt>, which is the default for <a class="reference external" href="https://docs.djangoproject.com/en/1.3/ref/settings/#cache-middleware-seconds">CACHE_MIDDLEWARE_SECONDS</a></dd>
-<dt><strong>Updated for use with Django-MPTT 0.5</strong></dt>
-<dd>Just a few tweaks.</dd>
-<dt><strong>Initial compatibility with Django 1.4</strong></dt>
-<dd>More is coming, but at least it works.</dd>
-<dt><strong>Slug transliteration for non-ASCII characters</strong></dt>
-<dd>A new setting, <tt class="docutils literal"><span class="pre">SLUG_TRANSLITERATOR</span></tt>, allows you to specify a function for converting the non-ASCII characters to ASCII characters before the slugification. Works great with <a class="reference external" href="http://pypi.python.org/pypi/Unidecode">Unidecode</a>.</dd>
-</dl>
+<div class="section" id="new-in-1-1">
+<h2>New in 1.1<a class="headerlink" href="#new-in-1-1" title="Permalink to this headline">¶</a></h2>
+<ul class="simple">
+<li>Fixed a cosmetic bug in the Django 1.4 admin. Action checkboxes now only appear once.</li>
+<li>Template tags are refactored to allow easy use of any model derived from <tt class="docutils literal"><span class="pre">CategoryBase</span></tt>.</li>
+<li>Improved test suite.</li>
+<li>Improved some of the documentation.</li>
+</ul>
</div>
<div class="section" id="contents">
<h2>Contents<a class="headerlink" href="#contents" title="Permalink to this headline">¶</a></h2>
@@ -167,13 +158,13 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
</div>
<div id="breadcrumbs">
- Django Categories v 1.0
+ Django Categories v 1.1
</ul>
</div>
<script type="text/javascript" charset="utf-8" src="_static/toc.js"></script>
View
14 docs/installation.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Installation &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Installation &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,13 +21,13 @@
<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 Categories v1.0.5 documentation" href="index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="index.html" />
<link rel="next" title="Getting Started" href="getting_started.html" />
- <link rel="prev" title="Django Categories v 1.0" href="index.html" />
+ <link rel="prev" title="Django Categories v 1.1" href="index.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Installation</h1></div>
@@ -36,7 +36,7 @@
<li id="page_buttons">
<div class="headerButton"><a href="genindex.html" title="General Index" accesskey="I">index</a></div>
<div class="headerButton"><a href="getting_started.html" title="Getting Started" accesskey="N">next</a></div>
- <div class="headerButton"><a href="index.html" title="Django Categories v 1.0" accesskey="P">previous</a></div>
+ <div class="headerButton"><a href="index.html" title="Django Categories v 1.1" accesskey="P">previous</a></div>
</li>
</ul>
</div>
@@ -141,7 +141,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
BIN docs/objects.inv
Binary file not shown.
View
10 docs/reference/index.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Reference &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Reference &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,13 +21,13 @@
<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 Categories v1.0.5 documentation" href="../index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="../index.html" />
<link rel="next" title="Management Commands" href="management_commands.html" />
<link rel="prev" title="Creating Custom Categories" href="../custom_categories.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Reference</h1></div>
@@ -137,7 +137,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
10 docs/reference/management_commands.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Management Commands &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Management Commands &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,14 +21,14 @@
<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 Categories v1.0.5 documentation" href="../index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="../index.html" />
<link rel="up" title="Reference" href="index.html" />
<link rel="next" title="Models" href="models.html" />
<link rel="prev" title="Reference" href="index.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Management Commands</h1></div>
@@ -121,7 +121,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
10 docs/reference/models.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Models &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Models &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,14 +21,14 @@
<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 Categories v1.0.5 documentation" href="../index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="../index.html" />
<link rel="up" title="Reference" href="index.html" />
<link rel="next" title="Settings" href="settings.html" />
<link rel="prev" title="Management Commands" href="management_commands.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Models</h1></div>
@@ -237,7 +237,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
10 docs/reference/settings.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Settings &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Settings &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,14 +21,14 @@
<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 Categories v1.0.5 documentation" href="../index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="../index.html" />
<link rel="up" title="Reference" href="index.html" />
<link rel="next" title="Template tags and filters" href="templatetags.html" />
<link rel="prev" title="Models" href="models.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Settings</h1></div>
@@ -183,7 +183,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
14 docs/reference/templatetags.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Template tags and filters &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Template tags and filters &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,13 +21,13 @@
<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 Categories v1.0.5 documentation" href="../index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="../index.html" />
<link rel="up" title="Reference" href="index.html" />
<link rel="prev" title="Settings" href="settings.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Template tags and filters</h1></div>
@@ -349,10 +349,10 @@
These are magically inserted into your context while you&#8217;re inside the
<tt class="docutils literal"><span class="pre">recursetree</span></tt> tag.</p>
<blockquote>
-<p><tt class="docutils literal"><span class="pre">node</span></tt> is an instance of your MPTT model.</p>
+<div><p><tt class="docutils literal"><span class="pre">node</span></tt> is an instance of your MPTT model.</p>
<p><tt class="docutils literal"><span class="pre">children</span></tt> : This variable holds the rendered HTML for the children of
<tt class="docutils literal"><span class="pre">node</span></tt>.</p>
-</blockquote>
+</div></blockquote>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>If you already have variables called <tt class="docutils literal"><span class="pre">node</span></tt> or <tt class="docutils literal"><span class="pre">children</span></tt> in your
@@ -378,7 +378,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
10 docs/registering_models.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Registering Models &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Registering Models &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,13 +21,13 @@
<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 Categories v1.0.5 documentation" href="index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="index.html" />
<link rel="next" title="Adding the fields to the database" href="adding_the_fields.html" />
<link rel="prev" title="Using categories in templates" href="usage.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Registering Models</h1></div>
@@ -235,7 +235,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
10 docs/search.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Search &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Search &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -22,7 +22,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/searchtools.js"></script>
- <link rel="top" title="Django Categories v1.0.5 documentation" href="index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="index.html" />
<script type="text/javascript">
jQuery(function() { Search.loadIndex("searchindex.js"); });
</script>
@@ -31,7 +31,7 @@
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Search</h1></div>
@@ -96,7 +96,7 @@ <h1 id="search-documentation">Search</h1>
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>
View
2 docs/searchindex.js
@@ -1 +1 @@
-Search.setIndex({objects:{"":{Category:[0,0,1],register_fk:[3,2,1],CategoryBase:[0,0,1],register_m2m:[3,2,1]},Category:{meta_keywords:[0,1,1],description:[0,1,1],meta_extra:[0,1,1],thumbnail_width:[0,1,1],thumbnail:[0,1,1],alternate_title:[0,1,1],alternate_url:[0,1,1],thumbnail_height:[0,1,1],order:[0,1,1]},CategoryBase:{name:[0,1,1],parent:[0,1,1],tree:[0,1,1],objects:[0,1,1],active:[0,1,1],slug:[0,1,1]}},terms:{represent:[5,6],all:[0,1,2,3,6,5,9,8,11],code:[9,7,3,11],sci:5,forget:11,is_leaf_nod:6,treemanag:0,children:[0,5,6],hard_coded_connect:[],hierarch:[1,6,7],whose:[0,3],depend:11,upload_to:7,friendli:0,categorymanag:0,rhythm:6,under:[5,6],leav:0,child1:6,child2:6,child3:6,fieldset:7,string:[2,3,6],bmodel:3,fals:[5,2,6],mechan:[],coolapp:6,veri:0,affect:9,model_nam:[9,8,2],exact:11,magic:6,level:[5,6],list:[0,5,10,6],upload:[0,2],iter:[5,6],item:[0,1,6,5],categories_set:[8,2,3],consequ:2,second:6,follow:[5,3,6],alternate_url:[0,7],treeforeignkei:0,full_tree_for_categori:[],even:11,index:1,what:[],appear:5,section:[1,6],current:[5,8,6],version:7,"new":[5,1,3,6,7],filefield:[0,7],method:[0,7],metadata:[1,7],full:[],deriv:[0,7],gener:[0,1,6,5],never:1,fk_registri:[4,2,3,11],path:[8,2,6],get_image_dimens:7,modifi:3,valu:[2,3],comtemporari:6,search:[0,1,7],genr:[],thumbnail_upload_path:[7,2,4],amount:2,related_nam:[9,5,3],chang:[9,2],control:[3,11],via:[0,6],transliter:1,extra:[5,7,3],appli:[],app:[9,1,3,6,11],disciplin:11,deprec:2,api:9,subcategori:[5,11],famili:6,simplecategoryadmin:[],instal:[1,10,11],txt:8,select:[0,6],from:[0,5,6,7,9,8,11],would:[9,1,6,5],regist:[1,2,3,7,5,9,8,11],two:[5,3,6,11],next:[5,7,6],few:[1,10],call:6,type:1,tell:1,more:[1,3,11,7],sort:0,alphabet:[0,6],python:9,clean_alternate_titl:7,relat:[5,2,3,11],hurt:9,indic:1,hold:6,unpack:6,cach:[1,2],must:[9,7,3,8],none:7,join:6,alia:6,work:[9,1],column:9,kwarg:7,can:[0,1,2,3,5,6,7,9,8,11],root:[0,5,6],def:7,overrid:[7,2],want:[1,2,3,6,7,9],get_top_level_categori:6,templat:[5,1,6,4],manytomanyfield:3,tag:[5,1,6,4],tab:8,multipl:[1,8],divid:1,anoth:9,write:2,allow_slug_chang:[4,2],more_cat:3,meta_keyword:[0,7],default_file_storag:2,instead:[0,7,5],ancestor:[5,6],simpl:[9,7],collaps:7,overridden:7,after:[5,6,11],appnam:[],extra_param:3,end:[5,6],associ:2,ul_tre:6,attempt:9,get_latest_objects_by_categori:[],seriou:2,django:[0,1,3,7,8,9,10,11],caus:9,inform:[5,1,3,6,11],allow:[1,2,3,6,7,5],enter:[9,1],callabl:2,lambda:2,order:[0,7,6,5],category_detail:5,help:6,slugif:1,over:[5,3,6],becaus:9,comma:[0,7,5],hierarchi:[0,7,6],taxonomi:1,secondary_categori:3,dynam:[9,11],paramet:[5,3,6],group:6,catgor:7,other_categori:3,chosen:0,therefor:3,alter:[5,7,6],them:[1,6],categorybaseadminform:[1,7],"return":[7,6],greater:[5,6],thei:9,handl:[0,1,11],extra_arg:3,var_nam:[],initi:1,mymodel_sec_set:[],now:1,eventu:[],name:[0,1,3,5,6,7,9,11],unidecod:[1,2],app_name_model_nam:8,drop:[9,8],separ:[0,7,6,5],easili:1,editor:10,each:[2,3,6],categoryadmin:7,unicod:[5,6],updat:1,mean:[1,2],subset:6,hard:11,"7beta1":[],urlfield:0,"7beta3":[],meta:7,connect:[1,11],our:1,happen:[],special:6,out:1,variabl:6,"3rd":11,space:8,categori:[0,1,2,3,4,5,6,7,8,9,10,11],import_categori:[4,8],rel:0,insid:6,advanc:[0,7],migrat:10,given:[5,6],full_tree_for_model:[],headlin:5,reason:0,base:[5,1],dictionari:[2,3],drop_category_field:[9,4,8],basi:11,reconfigur:[9,1],indent:8,wai:[9,3,11],befor:[1,11],could:[9,1,5],static_url:2,filter:[1,6,4],musicgenr:[6,11],perman:9,charfield:[0,7,11],assign:7,south:[9,1,10,11,8],first:[9,5,6,8],render:6,independ:1,number:[],sometim:7,mymodel_sec_cat:3,alreadi:[6,11],done:11,blank:[0,7],installed_app:10,miss:[9,8],differ:[9,10],lazy_connect:[],start:[5,1,11,6,8],data:[9,1,7],top:[6,11],system:[0,1],least:[1,7],stori:1,max_length:[7,11],store:2,imagefield:0,urban:6,option:[0,7,3,6,5],relationship:[9,1,3,11,5],especi:6,get_absolute_url:5,specifi:[1,2,3,6,5,8],part:[1,2],textfield:[0,7],than:[5,3,6],category_path:6,grew:1,keyword:[0,7],provid:[9,1,6,5],tree:[0,5,11,6,8],structur:[9,5,6],charact:[1,2],project:[10,11],matter:9,endspaceless:[],friend:6,schema:9,browser:1,fork:11,abov:[7,6],ran:11,pass:[3,6],queryset:6,argument:[5,3,6],packag:7,cleaned_data:7,have:[5,2,3,6,11],tabl:[9,1,11,8,7],need:[1,10,6,7],"null":7,engin:[0,7,2],form:[7,2],equival:3,self:[0,7],register_fk:3,note:[0,6],also:[9,1,11,7],without:5,take:11,which:[5,1,2,3,6],tool:2,singl:7,compat:1,thi:[0,2,3,5,6,7,9,11],clash:3,though:[],object:[0,5,6],regular:6,relation_model:[4,2],"class":[0,1,2,3,6,7,11],sub:8,don:[9,1,2,11],url:[0,7,2],doc:[1,7],mymodel:[3,11],doe:7,place:[0,7],clean:7,register_m2m:3,show:6,syntax:[2,6],contrib:[],breadcrumbs_tag:[],contemporari:6,varnam:6,impact:0,access:[5,6],onli:[0,1,2,10,5,7,9],coerc:6,configur:[9,5,11],activ:[0,7],should:[5,7,6],dict:[5,2,6],tree_info:[5,6],media_url:2,reset:9,get:[5,1,11],between:3,soon:2,cannot:8,increas:1,requir:[0,3,6,9,8,11],amodel_cat:3,get_ancestor:6,contain:[5,6],through:11,cache_middleware_second:1,where:2,valid:5,view:[5,1,2],set:[0,1,2,3,4,6,7,10,11],concert:1,thumbnail_width:[0,7],app2:8,javascript_url:[4,2],see:[1,2,10,5,9,11],result:[7,2,6],arg:7,close:7,subject:11,still:9,extend:5,databas:[9,1,11,8],enough:6,simplest:3,"import":[5,7,3,11,8],inclus:[4,6],thumbnail:[0,7,2],modeladmin:11,attribut:[0,7],altern:[0,7],grandpar:6,kei:[5,2,3,6,11],javascript:2,treebranch:[],complementari:9,come:1,popul:[],both:6,last:[5,6],delimit:6,admin:[1,2,11,7],booleanfield:0,howev:[9,7],lazi:11,foreign:[3,11],instanc:[0,7,6],context:6,new_level:[5,6],mani:[0,1,3,7,9,11],display_path_as_ul:6,thumbnail_storag:[0,4,2],simpli:[],slugfield:0,height:[0,7],mpttmeta:7,respect:11,duplic:6,empti:[5,6],much:7,basic:1,addit:[0,1,7],imag:7,convert:[1,2,6],ani:[0,5,6,7,9,11],child:[5,6],closed_level:[5,6],"case":[0,7,9],look:5,modelnam:2,"while":[9,6],behavior:9,error:9,some_list:6,loos:9,endblock:5,categorybaseadmin:[1,7],non:[1,2],treelevel:[],ascii:[1,2],sever:[9,7,11],parent:[0,7,6,5],welcom:[],perform:0,parti:11,make:[0,9,11],more_categori:3,same:[0,1,6,5,8,11],member:6,fragment:[],html:[0,7,6,5],descend:[5,6],m2m_registri:[4,2,3,11],document:[],conflict:3,http:0,categoryadminform:7,blue:6,someon:11,user:[7,2],countri:6,extern:2,appropri:9,dystopian:5,entri:5,well:[0,11],inherit:7,exampl:[9,7,3,6,5],command:[9,1,8,4],endfor:[5,6],endif:[5,6],model:[0,1,2,3,4,5,6,7,9,10,11],latest:[],relatedmodel_set:5,just:[1,7],photo:1,simplecategoryadminform:[],endwith:6,alternate_titl:[0,7],bit:7,forloop:[],web:1,entries_set:5,register_admin:[0,4,2],mix:8,had:5,littl:7,add:[0,1,3,6,7,8,5,10,11],book:5,inner:7,tweak:1,els:[5,7,6,11],save:[0,7,2],modul:[1,2],gave:1,applic:[9,1,3,11,8],around:[5,6],amodel:3,format:[],pop:6,field_nam:[9,8,3],thumbnail_height:[0,7],recurs:6,insert:6,like:[5,7,2,3],specif:2,other_cat:3,manual:0,href:[5,6],necessari:[1,3,7],either:[7,6],output:6,list_displai:7,page:[0,1,7],underli:9,revers:5,simplecategori:7,some:[3,6],intern:[],sampl:[5,6],syncdb:[10,11],inact:0,category_set:[],tree_path:[],integerfield:[0,7],lead:0,slug_transliter:[1,2,4],avoid:3,subclass:[0,1,2,10,6,7],order_insertion_bi:7,add_category_field:[9,4,11,8],cache_view_length:[1,2,4],tree_queryset:6,content:[5,1,6],refer:[1,4],core:7,set_nam:[],run:[9,10,11],imposs:0,usag:8,treeleaf:[],how:2,step:10,isn:[0,7],great:[1,2],"super":7,slug:[0,1,2,7],about:[5,6],recursetre:6,verbose_name_plur:7,date_field:[],includ:[0,7,2,6,9],cowboi:6,category_obj:6,block:[5,6],file2:8,own:[7,2,10,11],within:[5,1],automat:[0,5],slash:6,right:[5,6],subdisciplin:11,endrecursetre:6,storag:[7,2,11],your:[1,2,3,6,7,5,10,11],manag:[0,1,10,7,4,9,8,11],accordingli:6,meta_extra:[0,7],musicsubgenr:11,"long":9,custom:[1,2,10,6,7,11],avail:[5,6],width:[0,7],categorybas:[0,1,2,10,4,6,7],"function":[1,2,3,7],head:[0,7],mptt:[0,1,6,7],verbatim:[0,7],tupl:[5,2,3,6],category_tag:5,link:3,placement:2,line:8,"true":[0,7,2,6,5],count:5,immedi:[5,6],path_str:6,possibl:9,"default":[0,1,2,3,6,7,9],wish:11,displai:[],app1:8,below:[5,6],foreignkei:[3,11],site:[0,1],otherwis:[5,6],problem:0,unrel:6,similar:6,app_nam:[9,8,2],featur:5,creat:[1,3,6,7,9,10,11],retriev:6,"abstract":1,primary_categori:3,doesn:[9,3],repres:6,exist:0,file:[0,7,10,11,8],pip:10,check:0,probabl:[9,2],titl:[0,7],when:[1,3,6,11],detail:5,field:[0,1,3,7,9,8,11],other:[1,3,6,7,5,11],lookup:7,futur:5,test:[],you:[1,2,3,5,6,7,8,9,10,11],nice:3,node:[5,6],potenti:2,friendly_nod:6,display_drilldown_as_ul:6,why:0,breadcrumb:6,land:0,longer:0,help_text:7,get_category_drilldown:6,descript:[0,7,2,5],"6b1":[],some_nod:6,time:[9,1,2]},objtypes:{"0":"py:class","1":"py:attribute","2":"py:function"},titles:["Models","Django Categories v 1.0","Settings","Registering Models","Reference","Using categories in templates","Template tags and filters","Creating Custom Categories","Management Commands","Adding the fields to the database","Installation","Getting Started"],objnames:{"0":"Python class","1":"Python attribute","2":"Python function"},filenames:["reference/models","index","reference/settings","registering_models","reference/index","usage","reference/templatetags","custom_categories","reference/management_commands","adding_the_fields","installation","getting_started"]})
+Search.setIndex({objects:{"":{Category:[0,0,1],register_m2m:[8,2,1],CategoryBase:[0,0,1],register_fk:[8,2,1]},Category:{meta_keywords:[0,1,1],description:[0,1,1],meta_extra:[0,1,1],thumbnail_width:[0,1,1],order:[0,1,1],alternate_title:[0,1,1],alternate_url:[0,1,1],thumbnail_height:[0,1,1],thumbnail:[0,1,1]},CategoryBase:{name:[0,1,1],parent:[0,1,1],tree:[0,1,1],objects:[0,1,1],active:[0,1,1],slug:[0,1,1]}},terms:{represent:[5,6],all:[0,1,2,8,6,5,9,10,11],code:[9,7,8,11],sci:5,forget:11,is_leaf_nod:6,follow:[5,8,6],children:[0,5,6],hard_coded_connect:[],hierarch:[1,6,7],whose:[0,8],depend:11,upload_to:7,friendli:0,categorymanag:0,rhythm:6,under:[5,6],cache_view_length:[4,2],child1:6,child2:6,child3:6,fieldset:7,string:[2,8,6],bmodel:8,fals:[5,2,6],mechan:[],parti:11,coolapp:6,veri:0,affect:9,syntax:[2,6],exact:11,magic:6,level:[5,6],list:[0,5,3,6],upload:[0,2],iter:[5,6],item:[0,1,6,5],categories_set:[10,2,8],endrecursetre:6,consequ:2,second:6,treemanag:0,alternate_url:[0,7],treeforeignkei:0,full_tree_for_categori:[],even:11,index:1,what:[],appear:[5,1],section:[1,6],current:[5,10,6],version:7,"new":[5,1,8,6,7],varnam:6,method:[0,7],metadata:7,full:[],deriv:[0,1,7],gener:[0,5,6],never:[],fk_registri:[4,2,8,11],path:[10,2,6],full_tree_for_model:[],modifi:8,valu:[2,8],treeleaf:[],search:[0,1,7],genr:[],thumbnail_upload_path:[7,2,4],amount:2,related_nam:[9,5,8],action:1,chang:[9,2],control:[8,11],via:[0,6],dictionari:[2,8],extra:[5,7,8],appli:[],app:[9,1,8,6,11],disciplin:11,deprec:2,api:9,subcategori:[5,11],famili:6,simplecategoryadmin:7,instal:[1,3,11],txt:10,select:[0,6],from:[0,1,5,6,7,9,10,11],would:[9,5,6],regist:[1,2,8,7,5,9,10,11],two:[5,8,6,11],next:[5,7,6],few:3,call:6,type:[],tell:[],more:[7,8,11],sort:0,clean_alternate_titl:7,relat:[5,2,8,11],hurt:9,indic:1,hold:6,unpack:6,cach:2,must:[9,7,8,10],none:7,join:6,alia:6,work:9,recursetre:6,treelevel:[],can:[0,2,8,5,6,7,9,10,11],root:[0,5,6],def:7,overrid:[7,2],want:[1,2,8,6,7,9],fragment:[],get_top_level_categori:6,templat:[5,1,6,4],manytomanyfield:8,tag:[5,1,6,4],tab:10,multipl:[1,10],divid:1,anoth:9,write:2,allow_slug_chang:[4,2],more_cat:8,meta_keyword:[0,7],default_file_storag:2,instead:[0,7,5],ancestor:[5,6],app_name_model_nam:10,updat:[],overridden:7,after:[5,6,11],befor:11,extra_param:8,end:[5,6],data:[9,1,7],ul_tre:6,attempt:9,get_latest_objects_by_categori:[],seriou:2,django:[0,1,3,7,8,9,10,11],caus:9,inform:[5,8,6,11],allow:[1,2,8,6,7,5],enter:[9,1],callabl:2,first:[9,10,6,5],order:[0,7,6,5],category_detail:5,help:6,slugif:[],over:[5,8,6],becaus:9,comma:[0,7,5],hierarchi:[0,7,6],taxonomi:1,secondary_categori:8,dynam:[9,11],paramet:[5,8,6],group:6,catgor:7,other_categori:8,chosen:0,fix:1,therefor:8,alter:[5,7,6],them:6,categorybaseadminform:7,"return":[7,6],greater:[5,6],thei:9,handl:[0,1,11],extra_arg:8,var_nam:[],initi:[],mymodel_sec_set:[],now:1,document:1,name:[0,1,8,7,6,9,5,11],unidecod:2,simpl:[9,7],drop:[9,10],separ:[0,7,6,5],easili:[],each:[2,8,6],categoryadmin:7,unicod:[5,6],collaps:7,mean:2,subset:6,hard:11,"7beta1":[],urlfield:0,"7beta3":[],meta:7,connect:[1,11],our:1,happen:[],special:6,out:1,variabl:6,"3rd":11,space:10,categori:[0,1,2,3,4,5,6,7,8,9,10,11],verbatim:[0,7],import_categori:[4,10],rel:0,insid:6,advanc:[0,7],migrat:3,given:[5,6],get_image_dimens:7,headlin:5,reason:0,base:5,transliter:[],drop_category_field:[9,4,10],basi:11,reconfigur:[9,1],indent:10,meta_extra:[0,7],appnam:[],could:[9,1,5],static_url:2,filter:[1,6,4],musicgenr:[6,11],perman:9,charfield:[0,7,11],assign:7,south:[9,1,3,11,10],lambda:2,render:6,onc:1,independ:1,number:[],sometim:7,mymodel_sec_cat:8,alreadi:[6,11],done:11,blank:[0,7],installed_app:3,miss:[9,10],differ:[9,3],lazy_connect:[],width:[0,7],associ:2,top:[6,11],system:[0,1],least:7,stori:1,max_length:[7,11],accordingli:6,store:2,schema:9,urban:6,option:[0,7,8,6,5],relationship:[9,1,8,11,5],especi:6,get_absolute_url:5,specifi:[5,10,2,8,6],part:2,textfield:[0,7],than:[5,8,6],category_path:6,grew:1,keyword:[0,7],provid:[9,1,6,5],tree:[0,10,11,6,5],structur:[9,5,6],charact:2,project:[3,11],matter:9,endspaceless:[],friend:6,imagefield:0,browser:[],"function":[1,2,8,7],behavior:9,ran:11,pass:[7,8,6],queryset:6,argument:[5,8,6],packag:7,mptt:[0,7,6],have:[5,2,8,6,11],tabl:[9,1,11,10,7],need:[1,3,6,7],"null":7,engin:[0,7,2],categorybas:[0,1,2,3,4,6,7],equival:8,self:[0,7],register_fk:8,note:[0,6],also:[9,7,11],exampl:[9,7,8,6,5],take:11,which:[5,2,8,6],tupl:[5,2,8,6],tool:2,singl:7,compat:[],endfor:[5,6],clash:8,though:[],object:[0,5,6],regular:6,relation_model:[4,2],"class":[0,2,8,6,7,11],sub:10,don:[9,2,11],url:[0,7,2],doc:7,mymodel:[8,11],doe:7,place:[0,7],clean:7,register_m2m:8,show:6,model_nam:[9,10,2],checkbox:1,breadcrumbs_tag:[],contemporari:6,filefield:[0,7],impact:0,access:[5,6],onli:[0,1,2,3,5,7,9],coerc:6,configur:[9,5,11],activ:[0,7],should:[5,7,6],dict:[5,2,6],tree_info:[5,6],media_url:2,count:5,get:[5,1,11],simplest:8,soon:2,cannot:10,increas:[],requir:[0,8,6,9,10,11],amodel_cat:8,get_ancestor:6,contain:[5,6],through:11,cache_middleware_second:[],where:2,view:[5,2],set:[0,1,2,3,4,6,7,8,11],concert:1,thumbnail_width:[0,7],displai:[],javascript_url:[4,2],see:[9,5,2,3,11],result:[7,2,6],arg:7,close:7,subject:11,still:9,kei:[5,2,8,6,11],databas:[9,1,11,10],enough:6,between:8,"import":[5,7,8,11,10],thumbnail:[0,7,2],modeladmin:11,attribut:[0,7],altern:[0,7],grandpar:6,extend:5,javascript:2,treebranch:[],complementari:9,come:[],popul:[],both:6,last:[5,6],delimit:6,admin:[1,2,11,7],similar:6,howev:[9,7],lazi:11,foreign:[8,11],instanc:[0,7,6],context:6,new_level:[5,6],mani:[0,1,8,7,9,11],display_path_as_ul:6,thumbnail_storag:[0,4,2],simpli:[],slugfield:0,height:[0,7],mpttmeta:7,respect:11,duplic:6,empti:[5,6],much:7,basic:1,addit:[0,7],imag:7,convert:[2,6],ani:[0,1,7,6,9,5,11],child:[5,6],closed_level:[5,6],"case":[0,7,9],display_drilldown_as_ul:6,look:5,modelnam:2,"while":[9,6],abov:[7,6],error:9,some_list:6,loos:9,endblock:5,categorybaseadmin:7,non:2,kwarg:7,ascii:2,sever:[9,7,11],parent:[0,7,6,5],welcom:[],perform:0,alphabet:[0,6],make:[0,9,11],more_categori:8,same:[0,1,6,5,10,11],member:6,python:9,html:[0,7,6,5],descend:[5,6],m2m_registri:[4,2,8,11],eventu:[],conflict:8,http:0,categoryadminform:7,blue:6,someon:11,user:[7,2],countri:6,extern:2,cosmet:1,appropri:9,dystopian:5,entri:5,well:[0,11],inherit:7,without:5,command:[9,1,10,4],thi:[0,2,8,5,6,7,9,11],endif:[5,6],model:[0,1,2,3,4,5,6,7,9,8,11],latest:[],relatedmodel_set:5,just:7,photo:1,simplecategoryadminform:[],endwith:6,alternate_titl:[0,7],thumbnail_height:[0,7],forloop:[],web:1,entries_set:5,register_admin:[0,4,2],easi:1,mix:10,had:5,littl:7,add:[0,3,6,7,8,5,10,11],book:5,inner:7,tweak:[],els:[5,7,6,11],save:[0,7,2],modul:[1,2],gave:1,applic:[9,1,8,11,10],around:[5,6],amodel:8,format:[],pop:6,field_nam:[9,10,8],bit:7,recurs:6,insert:6,like:[5,7,2,8],specif:2,other_cat:8,manual:0,href:[5,6],necessari:[7,8],either:[7,6],output:6,list_displai:7,page:[0,1,7],underli:9,revers:5,simplecategori:7,some:[1,8,6],intern:[],sampl:[5,6],syncdb:[3,11],inact:0,category_set:[],tree_path:[],integerfield:[0,7],lead:0,slug_transliter:[4,2],avoid:8,subclass:[0,1,2,3,6,7],add_category_field:[9,4,11,10],leav:0,tree_queryset:6,content:[5,1,6],refer:[1,4],core:7,set_nam:[],run:[9,3,11],imposs:0,usag:10,comtemporari:6,how:2,step:3,isn:[0,7],"super":7,slug:[0,7,2],about:[5,6],column:9,verbose_name_plur:7,date_field:[],includ:[0,7,2,6,9],cowboi:6,category_obj:6,other:[1,8,6,7,5,11],block:[5,6],file2:10,own:[7,2,3,11],within:[5,1],automat:[0,5],slash:6,right:[5,6],subdisciplin:11,contrib:7,storag:[7,2,11],your:[1,2,3,6,7,5,8,11],manag:[0,1,3,7,4,9,10,11],inclus:[4,6],wai:[9,8,11],musicsubgenr:11,"long":9,custom:[1,2,3,6,7,11],avail:[5,6],start:[5,1,11,6,10],editor:3,suit:1,fork:11,head:[0,7],cleaned_data:7,form:[7,2],great:2,category_tag:5,link:8,placement:2,line:10,"true":[0,7,2,6,5],bug:1,reset:9,immedi:[5,6],path_str:6,possibl:9,"default":[0,2,8,6,7,9],wish:11,app2:10,app1:10,below:[5,6],foreignkei:[8,11],site:[0,1,7],otherwis:[5,6],problem:0,unrel:6,booleanfield:0,app_nam:[9,10,2],featur:5,creat:[1,3,6,7,9,8,11],retriev:6,"abstract":[],primary_categori:8,doesn:[9,8],repres:6,exist:0,file:[0,7,3,11,10],pip:3,improv:1,check:0,probabl:[9,2],titl:[0,7],when:[8,6,11],detail:5,refactor:1,field:[0,1,8,7,9,10,11],valid:5,lookup:7,futur:5,test:1,you:[2,3,5,6,7,8,9,10,11],nice:8,node:[5,6],some_nod:6,friendly_nod:6,order_insertion_bi:7,why:0,breadcrumb:6,land:0,longer:0,help_text:7,get_category_drilldown:6,descript:[0,7,2,5],"6b1":[],potenti:2,time:[9,2]},objtypes:{"0":"py:class","1":"py:attribute","2":"py:function"},titles:["Models","Django Categories v 1.1","Settings","Installation","Reference","Using categories in templates","Template tags and filters","Creating Custom Categories","Registering Models","Adding the fields to the database","Management Commands","Getting Started"],objnames:{"0":"Python class","1":"Python attribute","2":"Python function"},filenames:["reference/models","index","reference/settings","installation","reference/index","usage","reference/templatetags","custom_categories","registering_models","adding_the_fields","reference/management_commands","getting_started"]})
View
18 docs/usage.html
@@ -6,13 +6,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Using categories in templates &mdash; Django Categories v1.0.5 documentation</title>
+ <title>Using categories in templates &mdash; Django Categories v1.1 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: '1.0.5',
+ VERSION: '1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -21,13 +21,13 @@
<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 Categories v1.0.5 documentation" href="index.html" />
+ <link rel="top" title="Django Categories v1.1 documentation" href="index.html" />
<link rel="next" title="Registering Models" href="registering_models.html" />
<link rel="prev" title="Getting Started" href="getting_started.html" />
</head>
<body>
<div id="docstitle">
- <p>Django Categories v1.0.5 documentation</p>
+ <p>Django Categories v1.1 documentation</p>
</div>
<div id="header">
<div id="title"><h1>Using categories in templates</h1></div>
@@ -167,7 +167,7 @@
information about the tree structure around the item, with the following
keys:</p>
<blockquote>
-<dl class="docutils">
+<div><dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">'new_level'</span></tt></dt>
<dd><tt class="xref docutils literal"><span class="pre">True</span></tt> if the current item is the start of a new level in
the tree, <tt class="xref docutils literal"><span class="pre">False</span></tt> otherwise.</dd>
@@ -176,12 +176,12 @@
be an empty list if the next item&#8217;s level is the same as or
greater than the level of the current item.</dd>
</dl>
-</blockquote>
+</div></blockquote>
<p>An optional argument can be provided to specify extra details about the
structure which should appear in the <tt class="docutils literal"><span class="pre">dict</span></tt>. This should be a
comma-separated list of feature names. The valid feature names are:</p>
<blockquote>
-<dl class="docutils">
+<div><dl class="docutils">
<dt>ancestors</dt>
<dd><p class="first">Adds a list of unicode representations of the ancestors of the
current node, in descending order (root node first, immediate
@@ -195,7 +195,7 @@
</div>
</dd>
</dl>
-</blockquote>
+</div></blockquote>
</div>
</div>
</div>
@@ -207,7 +207,7 @@
<div class="footer">
<p>
&copy; Copyright 2010-2012, Corey Oordt.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</p>
</div>
<div class="clearer"></div>

0 comments on commit 234bc9f

Please sign in to comment.
Something went wrong with that request. Please try again.