1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed #23907 -- Added admin.site.register in tutorial 2 for consistency.

This commit is contained in:
Tim Graham 2014-11-24 15:58:56 -05:00
parent 1e9ac504e4
commit 1dbdc03382

View File

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