Commits

Anonymous committed 17e96d8

[1.2.X] Fixed #14696, corrected some messed up syntax in the docs. Backport of [14566].

  • Participants
  • Parent commits 21399a9
  • Branches releases/1.2.X

Comments (0)

Files changed (1)

File docs/ref/models/relations.txt

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