Opened 8 years ago

Closed 8 years ago

#3634 closed (wontfix)

Admin class has to be old-style class

Reported by: jh <jh-public@…> Owned by: adrian
Component: Core (Other) Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I got this error when I try to make an inner Admin class a new-style class: 'Admin' attribute of Blog model must be a class, not a <type 'type'> object.

The distinction between type and class will disappear, so I think this should be fixed.

Change History (1)

comment:1 Changed 8 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

I'm going to close this as "wontfix" because things happening in the newforms-admin branch are getting rid of the inner Admin class entirely, in favor of a new system which won't mix admin declarations into the model, at which point this will be moot. See discussion of newforms-admin on the django-developers list for the details.

Note: See TracTickets for help on using tickets.
Back to Top