summaryrefslogtreecommitdiff
path: root/tests/modeltests/get_object_or_404
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2007-03-23 20:17:04 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2007-03-23 20:17:04 +0000
commit189e7dd8023b75640c959bd1dbc0d664f0e283cd (patch)
tree2da9fc51b2d9967aa6b87c9931670ad2441b5a38 /tests/modeltests/get_object_or_404
parentaf1aa1baea3b24e594bb18bf8eadef7acee10b21 (diff)
Renumbered all the doctest examples so that they are ordered correctly on the doc pages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/get_object_or_404')
-rw-r--r--tests/modeltests/get_object_or_404/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/get_object_or_404/models.py b/tests/modeltests/get_object_or_404/models.py
index 0aefd40fdf..2ad459669f 100644
--- a/tests/modeltests/get_object_or_404/models.py
+++ b/tests/modeltests/get_object_or_404/models.py
@@ -1,5 +1,5 @@
"""
-34. DB-API Shortcuts
+35. DB-API Shortcuts
get_object_or_404 is a shortcut function to be used in view functions for
performing a get() lookup and raising a Http404 exception if a DoesNotExist