[1.7.x] Fixed #23907 -- Added admin.site.register in tutorial 2 for consistency.
Backport of 1dbdc03382
from master
This commit is contained in:
parent
78fe7ec14f
commit
299e7718cf
|
@ -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