no debug => error templates

This commit is contained in:
Thomas NOEL 2011-04-21 23:16:57 +02:00
parent 9b6a608b1f
commit 71960f15fb
3 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Django settings for surveillao project.
DEBUG = True
DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
@ -85,6 +85,7 @@ TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
os.path.join(_PROJECT_PATH, 'templates'),
)
INSTALLED_APPS = (

1
templates/404.html Normal file
View File

@ -0,0 +1 @@
nothing here (404)

1
templates/500.html Normal file
View File

@ -0,0 +1 @@
nothing here (500)