Commit 9aaa3059 authored by Anton Melser's avatar Anton Melser 💬

Reorder django wsgi file

Django has some orderings that the default tools don't like. Make
CERTAIN that no tools will try and mess with it!
Signed-off-by: default avatarAnton Melser <[email protected]>
parent f86f8748
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# noqa
# fmt: off
# pylint: skip-file
# flake8: noqa
# WARNING!!! DO NOT allow any reordering of imports here!!! all orderings are EXACTLY how the MUST BE!!!
""" """
WSGI config for transcrobes project. WSGI config for transcrobes project.
""" """
import os import os # isort:skip
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'transcrobes.settings.container')
import django import django # isort:skip
from django_wsgi.handler import DjangoApplication
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "transcrobes.settings.container")
django.setup() django.setup()
from django_wsgi.handler import DjangoApplication # isort:skip
application = DjangoApplication() application = DjangoApplication()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment