Django

Code

Changeset 3029

Show
Ignore:
Timestamp:
05/31/06 13:47:35 (3 years ago)
Author:
adrian
Message:

Removed 'API reference' section from django_website docs build_documentation.py, because it's no longer useful post magic-removal

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • djangoproject.com/django_website/apps/docs/parts/build_documentation.py

    r3027 r3029  
    2727<h2 id="model-source-code">Model source code</h2> 
    2828<pre class="literal-block">{{ model_source }}</pre> 
    29  
    30 <h2 id="api-reference">API reference</h2> 
    31  
    32 {% for model in models %} 
    33 <h3>{{ model.name }} objects have the following methods:</h3> 
    34 <ul> 
    35 {% for method in model.methods %}<li><tt class="docutils literal"><span class="pre">{{ method }}()</span></tt></li> 
    36 {% endfor %}</ul> 
    37 {% endfor %} 
    3829 
    3930<h2 id="sample-usage">Sample API usage</h2> 
     
    123114                'name': m._meta.object_name, 
    124115                'module_name': m._meta.module_name, 
    125                 'methods': [method for method in dir(m) if not method.startswith('_')], 
    126116            }) 
    127117