#8772: When a get_object_or_404 returns a 404, it'd be nice if it would return
which query didn't provide an object (when DEBUG=True)
------------------------------------+---------------------------------------
Reporter: Beetle_B | Owner: nobody
Status: closed | Milestone:
Component: Uncategorized | Version: SVN
Resolution: wontfix | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by jacob):
* status: new => closed
* resolution: => wontfix
Comment:
get_object_or_404 already gives you enough info to debug it; if you want
more info do a try/except yourself.
--
Ticket URL: <http://code.djangoproject.com/ticket/8772#comment:3>
Django Code <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
-~----------~----~----~----~------~----~------~--~---