PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://bitbucket.org/ianb/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
3import os
4os.environ['DJANGO_SETTINGS_MODULE'] = '{{app_name}}.settings'
5
6import django.core.handlers.wsgi
7application = django.core.handlers.wsgi.WSGIHandler()