Skip to content
Browse files

Removed 'API reference' section from django_website docs build_docume…

…, because it's no longer useful post magic-removal

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 9fb3025 commit 746ab9ec15d54bb0761318f944a17ab647c73fbe adrian committed
Showing with 0 additions and 10 deletions.
  1. +0 −10 django_website/apps/docs/parts/
10 django_website/apps/docs/parts/
@@ -27,15 +27,6 @@
<h2 id="model-source-code">Model source code</h2>
<pre class="literal-block">{{ model_source }}</pre>
-<h2 id="api-reference">API reference</h2>
-{% for model in models %}
-<h3>{{ }} objects have the following methods:</h3>
-{% for method in model.methods %}<li><tt class="docutils literal"><span class="pre">{{ method }}()</span></tt></li>
-{% endfor %}</ul>
-{% endfor %}
<h2 id="sample-usage">Sample API usage</h2>
<p>This sample code assumes the above model{{ models|pluralize }} {% if models|pluralize %}have{% else %}has{% endif %}
been saved in a file <tt class="docutils literal"><span class="pre"></span></tt>.
@@ -122,7 +113,6 @@ def build_test_documents():
'name': m._meta.object_name,
'module_name': m._meta.module_name,
- 'methods': [method for method in dir(m) if not method.startswith('_')],
# Run this through the template system.

0 comments on commit 746ab9e

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