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

examples correct.  Thanks Wang Chun.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-12-01 21:18:45 +00:00
parent 6875fd6389
commit a72324bf7f
5 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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

View File

@ -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).

View File

@ -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.

View File

@ -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 @@ Traceback (most recent call last):
CommandError: Unknown command: 'explode'
"""}
"""}