Small formatting tweak to generated model examples
git-svn-id: http://code.djangoproject.com/svn/django/trunk@353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b7643d009e
commit
716d00a314
|
@ -22,7 +22,7 @@ MODEL_DOC_TEMPLATE = """
|
||||||
{% for model in models %}
|
{% for model in models %}
|
||||||
<h3>{{ model.name }} objects have the following methods:</h3>
|
<h3>{{ model.name }} objects have the following methods:</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{% for method in model.methods %}<li><span class="pre">{{ method }}()</span></li>
|
{% for method in model.methods %}<li><tt class="docutils literal"><span class="pre">{{ method }}()</span></tt></li>
|
||||||
{% endfor %}</ul>
|
{% endfor %}</ul>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue