200 | | Improved error reporting when debug is on. See #603. Also note that loaders must return a tuple of (source, filename) rather than just the source of a loaded template. |
| 202 | Improved error reporting when debug is on. See #603. Also note that loaders must return a tuple of (source, filename) rather than just the source of a loaded template. |
| 203 | |
| 204 | To make this work, add "django.middleware.template_debug.TemplateDebugMiddleware" to MIDDLEWARE_CLASSES, |
| 205 | and make a template called template_debug.html which just does: |
| 206 | {% include "admin/template_debug" %} |
| 207 | If anyone has a better suggestion of how to deal with this, let me know. |