#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:  post-1.0
         Component:  Uncategorized  |       Version:  SVN     
        Resolution:  wontfix        |      Keywords:          
             Stage:  Unreviewed     |     Has_patch:  0       
        Needs_docs:  0              |   Needs_tests:  0       
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by julianb):

 It is wontfix because a core dev decided so. After thinking about it, 404s
 are raised almost always intentionally, so if you don't know why it was
 raised you just don't know your code.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8772#comment:7>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to