diff --git a/settings.py b/settings.py index c6f1fa9..49c6761 100644 --- a/settings.py +++ b/settings.py @@ -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 = ( diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..64334d2 --- /dev/null +++ b/templates/404.html @@ -0,0 +1 @@ +nothing here (404) diff --git a/templates/500.html b/templates/500.html new file mode 100644 index 0000000..eb4c02c --- /dev/null +++ b/templates/500.html @@ -0,0 +1 @@ +nothing here (500)