no debug => error templates
This commit is contained in:
parent
9b6a608b1f
commit
71960f15fb
|
@ -1,6 +1,6 @@
|
||||||
# Django settings for surveillao project.
|
# Django settings for surveillao project.
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = False
|
||||||
TEMPLATE_DEBUG = DEBUG
|
TEMPLATE_DEBUG = DEBUG
|
||||||
|
|
||||||
ADMINS = (
|
ADMINS = (
|
||||||
|
@ -85,6 +85,7 @@ TEMPLATE_DIRS = (
|
||||||
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
|
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
|
||||||
# Always use forward slashes, even on Windows.
|
# Always use forward slashes, even on Windows.
|
||||||
# Don't forget to use absolute paths, not relative paths.
|
# Don't forget to use absolute paths, not relative paths.
|
||||||
|
os.path.join(_PROJECT_PATH, 'templates'),
|
||||||
)
|
)
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
nothing here (404)
|
|
@ -0,0 +1 @@
|
||||||
|
nothing here (500)
|
Reference in New Issue