diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-08 03:08:37 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-08 03:08:37 +0000 |
commit | e011d9cf24895b1465ce2adbcd94981360b5f7af (patch) | |
tree | efe79ccf4ca4bcb966ac048ed0d1c121a3f0d38f /rpki/django_settings/common.py | |
parent | 9aa4f71e89de9e9189571c68ba1589024f77d71a (diff) |
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
Diffstat (limited to 'rpki/django_settings/common.py')
-rw-r--r-- | rpki/django_settings/common.py | 4 |
1 files changed, 4 insertions, 0 deletions
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. # |