diff --git a/setup.cfg b/setup.cfg index 44d89c3..5ea56d1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,5 +2,5 @@ DJANGO_SETTINGS_MODULE=static_precompiler.tests.django_settings [flake8] -exclude = build, .git +exclude = build, .git, static_precompiler/migrations/*, static_precompiler/south_migrations/* max-line-length = 120 diff --git a/test_project/test_project/wsgi.py b/test_project/test_project/wsgi.py index 5ce7da7..124dfee 100644 --- a/test_project/test_project/wsgi.py +++ b/test_project/test_project/wsgi.py @@ -8,7 +8,8 @@ """ import os -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_project.settings") from django.core.wsgi import get_wsgi_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_project.settings") application = get_wsgi_application()