mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
13 lines
No EOL
423 B
Python
13 lines
No EOL
423 B
Python
import os, sys
|
|
|
|
apache_configuration= os.path.dirname('/home/conesus/newsblur')
|
|
project = os.path.dirname(apache_configuration)
|
|
workspace = os.path.dirname(project)
|
|
sys.path.append(workspace)
|
|
|
|
sys.path.append('/home/conesus/django/')
|
|
sys.path.append('/home/conesus/newsblur/')
|
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
|
|
import django.core.handlers.wsgi
|
|
application = django.core.handlers.wsgi.WSGIHandler() |