Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.2.X] Fixed #14696, corrected some messed up syntax in the docs. Ba…

…ckport of [14566].

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bfab752286f72af8c6d4be3f30457d669610eab5 1 parent 2f91f76
@alex alex authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 docs/ref/models/relations.txt
View
10 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
Please sign in to comment.
Something went wrong with that request. Please try again.