Opened 17 years ago

Closed 17 years ago

#3634 closed (wontfix)

Admin class has to be old-style class

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

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 by James Bennett, 17 years ago

Resolution: wontfix
Status: newclosed

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