Author: adrian
Date: 2006-05-31 13:47:35 -0500 (Wed, 31 May 2006)
New Revision: 3029
Modified:
djangoproject.com/django_website/apps/docs/parts/build_documentation.py
Log:
Removed 'API reference' section from django_website docs
build_documentation.py, because it's no longer useful post magic-removal
Modified:
djangoproject.com/django_website/apps/docs/parts/build_documentation.py
===================================================================
--- djangoproject.com/django_website/apps/docs/parts/build_documentation.py
2006-05-31 18:45:17 UTC (rev 3028)
+++ djangoproject.com/django_website/apps/docs/parts/build_documentation.py
2006-05-31 18:47:35 UTC (rev 3029)
@@ -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>{{ model.name }} objects have the following methods:</h3>
-<ul>
-{% 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">examplemodel.py</span></tt>.
@@ -122,7 +113,6 @@
models.append({
'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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---