[1.7.x] Fixed #23907 -- Added admin.site.register in tutorial 2 for consistency.

Backport of 1dbdc03382 from master
This commit is contained in:
Tim Graham 2014-11-24 15:58:56 -05:00
parent 78fe7ec14f
commit 299e7718cf
1 changed files with 2 additions and 0 deletions

View File

@ -257,6 +257,8 @@ aren't commonly used:
('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}), ('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}),
] ]
admin.site.register(Question, QuestionAdmin)
.. image:: _images/admin09.png .. image:: _images/admin09.png
:alt: Fieldset is initially collapsed :alt: Fieldset is initially collapsed