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:
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
Block a user