#8245: Exceptions in admin.py can get hidden by an AlreadyRegistered exception
-------------------------------------------+--------------------------------
Reporter: jarrow | Owner: nobody
Status: closed | Milestone: post-1.0
Component: django.contrib.admin | Version: SVN
Resolution: fixed | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Comment (by jarrow):
Cool, thanks for the fix. I think this solution has some drawbacks though:
- You only see the real exception on the first request
- All the stuff getting executed behind the exception in the admin.py
file is missing (which could cause other exceptions in turn)
- To get the real exception back __and__ to execute the stuff behind the
source the exception one has to restart the server (even the development
one)
The previous patch (though admittedly not that pretty) didn't have these
issues. Was this the intended behaviour?
--
Ticket URL: <http://code.djangoproject.com/ticket/8245#comment:21>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---