Changeset 4959
- Timestamp:
- 04/08/07 20:10:26 (2 years ago)
- Files:
-
- django/trunk/django/views/debug.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/views/debug.py
r4265 r4959 145 145 c = Context({ 146 146 'root_urlconf': settings.ROOT_URLCONF, 147 'request_path': request.path[1:], # Trim leading slash 147 148 'urlpatterns': tried, 148 149 'reason': str(exception), … … 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>
