Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#8282 closed (duplicate)

admin models not properly unregistered when having exceptions in (using django development server)

Reported by: ask@… Owned by: nobody
Component: contrib.admin Version: 1.0-alpha
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


If duing development one makes codeing errors in, the development server will require a full restart before functioning properly.
Reason is that models registered to newforms-admin before the exception occours will still be registered and models unregistered (but not reregistered) before the exception, will not be registered.
This will cause allready registered exceptions for every registration and not registered exceptions for unregistrations.
Fix: Django needs to do proper cleanup upon exceptions.

Change History (3)

comment:1 Changed 10 years ago by Julian Bez

Triage Stage: UnreviewedAccepted

comment:2 Changed 10 years ago by Julien Phalip

Resolution: duplicate
Status: newclosed

#8245 reports the same issue and has a patch.

comment:3 Changed 7 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

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