summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2010-11-16 02:21:38 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2010-11-16 02:21:38 +0000
commitbfab752286f72af8c6d4be3f30457d669610eab5 (patch)
treeb89c60b1c2543af682ee18fef95a5fbc91f1a3d3 /docs/ref/models
parent2f91f76417ea949242b68db8e075bb43047fdd53 (diff)
[1.2.X] Fixed #14696, corrected some messed up syntax in the docs. Backport of [14566].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/relations.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/models/relations.txt b/docs/ref/models/relations.txt
index 0481644d7a..8ca3be0be8 100644
--- a/docs/ref/models/relations.txt
+++ b/docs/ref/models/relations.txt
@@ -61,11 +61,11 @@ Related objects reference
>>> b = Blog.objects.get(id=1)
>>> e = Entry(
- .... blog=b,
- .... headline='Hello',
- .... body_text='Hi',
- .... pub_date=datetime.date(2005, 1, 1)
- .... )
+ ... blog=b,
+ ... headline='Hello',
+ ... body_text='Hi',
+ ... pub_date=datetime.date(2005, 1, 1)
+ ... )
>>> e.save(force_insert=True)
Note that there's no need to specify the keyword argument of the model