Commit e69bc743 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

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
parent f6363bc6
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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