* manage.py file at the root of the project * targetting the project located at tests/test_project/settings.py That allows testing the linter through just calling it on the project itself. Using the new method coming soon: `python manage.py lintmigrations`
17 lines
401 B
Python
17 lines
401 B
Python
"""
|
|
WSGI config for test_project project.
|
|
|
|
It exposes the WSGI callable as a module-level variable named ``application``.
|
|
|
|
For more information on this file, see
|
|
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
|
|
"""
|
|
|
|
import os
|
|
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_project.settings")
|
|
|
|
application = get_wsgi_application()
|