#23907 closed Cleanup/optimization (fixed)
tutorial02 code missing 'admin.site.register'
Description ¶
The code example below
---
You can assign arbitrary HTML classes to each fieldset. Django provides a "collapse" class that displays a particular fieldset initially collapsed. This is useful when you have a long form that contains a number of fields that aren’t commonly used:
---
lacks the line:
admin.site.register(Question, QuestionAdmin)
Change History (3)
comment:1 by , 10 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Hi,
I agree, we should add the
register
line.Thanks.