Opened 10 years ago
Closed 10 years ago
#25324 closed Cleanup/optimization (fixed)
Register the existing ModelAdmin subclasses with the decorator
| Reported by: | Y3K | Owned by: | Y3K |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Currently, none of the existing ModelAdmin subclasses is beign registered via the new @admin.register decorator.
Note:
See TracTickets
for help on using tickets.
Github pull request https://github.com/django/django/pull/5205
admin.site.registerfor@admin.register