summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2010-11-16 02:21:07 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2010-11-16 02:21:07 +0000
commite69bc74351d4110e047c6fe7feb1c28272f0603c (patch)
tree8482e2897c3a82f21c2544cba10d46166ac207e9 /docs/ref
parentf6363bc62849f44df655bd9a7723fc30849ee915 (diff)
Fixed #14696, corrected some messed up syntax in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-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