Commit c849fcc6 authored by Malcolm Tredinnick's avatar Malcolm Tredinnick
Browse files

Fixed #8558 -- Removed a stray line in tutorial 2 left over from when it was

rewritten for the new admin.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent a516ebdf
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -264,7 +264,6 @@ Poll object. Let's make that happen.
Remove the ``register()`` call for the Choice model. Then, edit the ``Poll``
registration code to read::

    poll = models.ForeignKey(Poll, edit_inline=models.STACKED, num_in_admin=3)
    class ChoiceInline(admin.StackedInline):
        model = Choice
        extra = 3