mirror of https://github.com/django/django.git
Fixed #23907 -- Added admin.site.register in tutorial 2 for consistency.
This commit is contained in:
parent
1e9ac504e4
commit
1dbdc03382
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue