staging_ssl.py 450 B

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