Guest User

Untitled

a guest
Jan 23rd, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import os, sys
  2.  
  3. install_dir = os.path.abspath(os.path.dirname(__file__))
  4. sys.path.append(install_dir)
  5.  
  6. os.environ['DJANGO_SETTINGS_MODULE'] = 'ecm.settings'
  7.  
  8.  
  9. import django.core.handlers.wsgi
  10. application = django.core.handlers.wsgi.WSGIHandler()
Add Comment
Please, Sign In to add comment