Ticket #9464: tutorial03.reorder-404-list.patch
File tutorial03.reorder-404-list.patch, 512 bytes (added by , 16 years ago) |
---|
Line | |
---|---|
1 | 359a360,362 |
2 | > * If :setting:`DEBUG` is set to ``True`` (in your settings module) then your |
3 | > 404 view will never be used, and the traceback will be displayed instead. |
4 | > |
5 | 368,369c371,372 |
6 | < * If :setting:`DEBUG` is set to ``True`` (in your settings module) then your |
7 | < 404 view will never be used, and the traceback will be displayed instead. |
8 | --- |
9 | > * If :setting:`DEBUG` is set to ``False`` and if you didn't create a |
10 | > ``404.html`` file, an :exc:`~django.http.Http500` is raised. |