• Grzegorz Nosek's avatar
    Fixed #18373 - improved handling of Resolver404s from views · 79558c78
    Grzegorz Nosek yazdı
    When django.core.urlresolvers.resolve was called from a view, failed
    and the exception was propagated and rendered by technical_404_response,
    the URL mentioned on the page was the current URL instead of the URL
    passed to resolve().
    
    Fixed by using the path attribute from the Resolver404 exception instead
    of request.path_info. Also cleaned up the exceptions to use standard
    named parameters instead of stuffing a dict in args[0]
    79558c78
Adı
Son kayıt (commit)
Son güncelleme
..
app0 Loading commit data...
app1 Loading commit data...
app2 Loading commit data...
app3 Loading commit data...
app4 Loading commit data...
fixtures Loading commit data...
locale Loading commit data...
media Loading commit data...
other_templates Loading commit data...
templates Loading commit data...
templatetags Loading commit data...
tests Loading commit data...
__init__.py Loading commit data...
default_urls.py Loading commit data...
generic_urls.py Loading commit data...
models.py Loading commit data...
regression_21530_urls.py Loading commit data...
urls.py Loading commit data...
views.py Loading commit data...