From e011d9cf24895b1465ce2adbcd94981360b5f7af Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 8 Oct 2015 03:08:37 +0000 Subject: Upgrade to new way of doing WSGI. Silence ten zillion deprecation warnings: Django 1.8 has a really obscure way of saying "Please don't import your models into your apps' __init__.py files, thanks." svn path=/branches/tk705/; revision=6101 --- rpki/django_settings/common.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rpki/django_settings/common.py') diff --git a/rpki/django_settings/common.py b/rpki/django_settings/common.py index a1d54c71..d410d984 100644 --- a/rpki/django_settings/common.py +++ b/rpki/django_settings/common.py @@ -61,6 +61,10 @@ if os.getenv("RPKI_DJANGO_DEBUG") == "yes": # we don't require South. +# Silence whining about MIDDLEWARE_CLASSES + +MIDDLEWARE_CLASSES = () + # That would be it if we just need the ORM, but Django throws a hissy # fit if SECRET_KEY isn't set, whether we use it for anything or not. # -- cgit v1.2.3