Ticket #3942: debug.patch
File debug.patch, 843 bytes (added by , 18 years ago) |
---|
-
django/views/debug.py
144 144 t = Template(TECHNICAL_404_TEMPLATE, name='Technical 404 template') 145 145 c = Context({ 146 146 'root_urlconf': settings.ROOT_URLCONF, 147 'request_path': request.path[1:], 147 148 'urlpatterns': tried, 148 149 'reason': str(exception), 149 150 'request': request, … … 591 592 <li>{{ pattern|escape }}</li> 592 593 {% endfor %} 593 594 </ol> 594 <p>The current URL, <code>{{ request .path|escape }}</code>, didn't match any of these.</p>595 <p>The current URL, <code>{{ request_path|escape }}</code>, didn't match any of these.</p> 595 596 {% else %} 596 597 <p>{{ reason|escape }}</p> 597 598 {% endif %}