#32998: process_view() is not called on 404
-------------------------------+--------------------------------------
     Reporter:  jooadam        |                    Owner:  nobody
         Type:  Bug            |                   Status:  closed
    Component:  HTTP handling  |                  Version:  3.2
     Severity:  Normal         |               Resolution:  invalid
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by jooadam):

 Replying to [comment:3 Carlton Gibson]:
 > process_view() is run after the URL is resolved. (That's how the view
 `callback` parameter is populated.) So, if resolution raises a 404,
 process_view() will not be called. This is expected AFAICS.

 I would definitely not expect this, or for that matter, to reference the
 other issue I opened, that errors in a 404 not get logged. Django calls
 error handlers views, so I would expect them to work the same way as
 ordinary views, or call them something else. Or the very least, document
 that they are exceptional.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32998#comment:4>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.0f56ceb84072f6c9a7fed9d6542f6f14%40djangoproject.com.

Reply via email to