Source

django-swingcms / swingcms / apache / handler.wsgi

Full commit
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os, sys
import django.core.handlers.wsgi



path1 = "/var/www/django-swingcms"
path2 = "/var/www/django-swingcms/swingcms"

if not path1 in sys.path: sys.path.append(path1)
if not path2 in sys.path: sys.path.append(path2)

os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'

application = django.core.handlers.wsgi.WSGIHandler()