Permalink
Browse files

Fixed #6068 -- Updated docstrings in model tests to make the document…

…ation

examples correct.  Thanks Wang Chun.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 6875fd6 commit a72324bf7f001f163aa75b73d7eb3e7601c29b60 @malcolmt malcolmt committed Dec 1, 2007
@@ -1,5 +1,5 @@
"""
-39. Empty model tests
+40. Empty model tests
These test that things behave sensibly for the rare corner-case of a model with
no fields.
@@ -1,5 +1,5 @@
"""
-40. Tests for select_related()
+41. Tests for select_related()
``select_related()`` follows all relationships and pre-caches any foreign key
values so that complex trees can be fetched in a single query. However, this
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
-41. Serialization
+42. Serialization
``django.core.serializers`` provides interfaces to converting Django querysets
to and from "flat" data (i.e. strings).
@@ -1,6 +1,6 @@
# coding: utf-8
"""
-38. Testing using the Test Client
+39. Testing using the Test Client
The test client is a class that can act like a simple
browser for testing purposes.
@@ -1,5 +1,5 @@
"""
-37. User-registered management commands
+38. User-registered management commands
The manage.py utility provides a number of useful commands for managing a
Django project. If you want to add a utility command of your own, you can.
@@ -27,4 +27,4 @@
CommandError: Unknown command: 'explode'
-"""}
+"""}

0 comments on commit a72324b

Please sign in to comment.