# -*- coding: utf-8 -*- # !/usr/bin/env python import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'configs.production2') os.environ.setdefault('SECURITY_HTTP', 'yes') from apilib.loghelper.wsgi import CustomWSGIWrapper # This application object is used by the development server # as well as any WSGI server configured to use this file. from django.core.wsgi import get_wsgi_application application = CustomWSGIWrapper(get_wsgi_application())