""" WSGI config for speedy 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/dev/howto/deployment/wsgi/ """ import os import sys from pathlib import Path from django.core.wsgi import get_wsgi_application sys.path.insert(0, str(Path(__file__).absolute().parent.parent.parent)) from speedy.core.settings.utils import env os.environ.setdefault("DJANGO_SETTINGS_MODULE", "speedy.net.settings.{}".format(env('ENVIRONMENT'))) application = get_wsgi_application()
""" WSGI config for speedy 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/dev/howto/deployment/wsgi/ """ import os import sys from pathlib import Path from django.core.wsgi import get_wsgi_application sys.path.insert(0, str(Path(__file__).absolute().parent.parent.parent)) from speedy.core.settings.utils import env os.environ.setdefault("DJANGO_SETTINGS_MODULE", "speedy.composer.settings.{}".format(env('ENVIRONMENT'))) application = get_wsgi_application()
""" WSGI config for speedy 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/dev/howto/deployment/wsgi/ """ import os import sys from pathlib import Path from django.core.wsgi import get_wsgi_application sys.path.insert(0, str(Path(__file__).absolute().parent.parent.parent)) from speedy.core.settings.utils import env os.environ.setdefault("DJANGO_SETTINGS_MODULE", "speedy.mail.settings.{}".format(env('ENVIRONMENT'))) application = get_wsgi_application()
#!/usr/bin/env python import os import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).absolute().parent.parent.parent)) from speedy.core.settings.utils import env if (__name__ == "__main__"): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "speedy.composer.settings.{}".format(env('ENVIRONMENT'))) from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
#!/usr/bin/env python import os import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).absolute().parent.parent.parent)) from speedy.core.settings.utils import env if (__name__ == "__main__"): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "speedy.composer.settings.{}".format(env('TESTS_ENVIRONMENT'))) from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
#!/usr/bin/env python import os import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).absolute().parent.parent.parent)) from speedy.core.settings.utils import env if (__name__ == "__main__"): os.environ.setdefault( "DJANGO_SETTINGS_MODULE", "speedy.mail.settings.{}".format(env('TESTS_ENVIRONMENT'))) from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
#!/usr/bin/env python import os import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).absolute().parent.parent.parent)) from speedy.core.settings.utils import env if (__name__ == "__main__"): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "speedy.net.settings.{}".format(env('TESTS_ENVIRONMENT'))) from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)