暂无描述

wsgi.py 435B

1234567891011121314151617
  1. """
  2. WSGI config for learning_log project.
  3. It exposes the WSGI callable as a module-level variable named ``application``.
  4. For more information on this file, see
  5. https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/
  6. """
  7. import os
  8. from django.core.wsgi import get_wsgi_application
  9. from dj_static import Cling
  10. os.environ.setdefault("DJANGO_SETTINGS_MODULE", "learning_log.settings")
  11. application = Cling(get_wsgi_application())