From 7a996f5aff65cb91e88149cdece079e512e2c090 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 20 Apr 2014 12:13:30 +0200 Subject: [PATCH] Added domain to ALLOWED_HOSTS --- securityquiz/settings.py | 2 +- templates/500.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 templates/500.html diff --git a/securityquiz/settings.py b/securityquiz/settings.py index b0e2dfe..dbada92 100644 --- a/securityquiz/settings.py +++ b/securityquiz/settings.py @@ -28,7 +28,7 @@ if 'runserver' in sys.argv: DEBUG = True TEMPLATE_DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['security.aardappelschilmesje.nl'] # Application definition diff --git a/templates/500.html b/templates/500.html new file mode 100644 index 0000000..2b452eb --- /dev/null +++ b/templates/500.html @@ -0,0 +1 @@ +Internal Server Error