summaryrefslogtreecommitdiff
path: root/tests/builddocs.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-07-29 23:42:15 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-07-29 23:42:15 +0000
commit716d00a31431add73bea0204cb5374947f71be87 (patch)
treefeb9e3b0fa57d4733de48910a294df8c8c2e18b9 /tests/builddocs.py
parentb7643d009eea7547b7f65b20c27369bb223290fd (diff)
Small formatting tweak to generated model examples
git-svn-id: http://code.djangoproject.com/svn/django/trunk@353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/builddocs.py')
-rwxr-xr-xtests/builddocs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/builddocs.py b/tests/builddocs.py
index f0d57b61b9..27e24b57ff 100755
--- a/tests/builddocs.py
+++ b/tests/builddocs.py
@@ -22,7 +22,7 @@ MODEL_DOC_TEMPLATE = """
{% for model in models %}
<h3>{{ model.name }} objects have the following methods:</h3>
<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 %}