summaryrefslogtreecommitdiff
path: root/tests/modeltests/get_or_create/models.py
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_or_create/models.py
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_or_create/models.py')
-rw-r--r--tests/modeltests/get_or_create/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/get_or_create/models.py b/tests/modeltests/get_or_create/models.py
index b4f39ceded..f974a82dee 100644
--- a/tests/modeltests/get_or_create/models.py
+++ b/tests/modeltests/get_or_create/models.py
@@ -1,5 +1,5 @@
"""
-32. get_or_create()
+33. get_or_create()
get_or_create() does what it says: it tries to look up an object with the given
parameters. If an object isn't found, it creates one with the given parameters.