/silverlining/init-files/main.py.tmpl

https://bitbucket.org/cuu508/silverlining · Go Template · 7 lines · 5 code · 2 blank · 0 comment · 0 complexity · 1b4b1b95a3494932ba6bed335a75f6f2 MD5 · raw file

  1. # Note: the virtualenv path has already been setup at this time
  2. import os
  3. os.environ['DJANGO_SETTINGS_MODULE'] = '{{app_name}}.settings'
  4. import django.core.handlers.wsgi
  5. application = django.core.handlers.wsgi.WSGIHandler()