]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/settings.py
Changes for django 2.2
[sommitrealweird.git] / sommitrealweird / settings.py
index 67b8f32b369f57abdd147862443ae3edb8ac4e88..6eb539f2723bcc04c962b62c984cecbd68bbab75 100644 (file)
@@ -14,6 +14,7 @@ ADMINS = (
 ALLOWED_HOSTS = [
     "www.sommitrealweird.co.uk",
     "www.sommitrealweird.co.uk.",
+    "10.0.3.191",
 ]
 
 MANAGERS = ADMINS
@@ -55,7 +56,7 @@ CACHES = {
     }
 }
 
-MIDDLEWARE_CLASSES = (
+MIDDLEWARE = (
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
@@ -96,6 +97,7 @@ INSTALLED_APPS = (
     'django.contrib.sessions',
     'django.contrib.sites',
     'django.contrib.admin',
+    'django.contrib.messages',
     'bpcms',
     'generic',
     'blog',