Permalink
Browse files

Fixed #603 -- Added template debugging errors to pretty error-page ou…

…tput, if TEMPLATE_DEBUG setting is True. Also refactored FilterParser for a significant speed increase and changed the template_loader interface so that it returns information about the loader. Taken from new-admin. Thanks rjwittams and crew

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent cfc5786 commit 5d863f1fbd26537a8bca2920bc591279d15fbdf1 @adrianholovaty adrianholovaty committed Nov 23, 2005
@@ -8,6 +8,7 @@
####################
DEBUG = False
+TEMPLATE_DEBUG = False
# Whether to use the "Etag" header. This saves bandwidth but slows down performance.
USE_ETAGS = False
@@ -1,6 +1,7 @@
# Django settings for {{ project_name }} project.
DEBUG = True
+TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
Oops, something went wrong.

0 comments on commit 5d863f1

Please sign in to comment.