refonte pour le SDK
[auf_skeleton_django.git] / wsgi.py
1 #!/usr/bin/env python
2 import os
3 import sys
4
5 sys.path.append('./external_apps/')
6
7 sys.path.append('../auf-django-sdk/sdk/django_auf/')
8 sys.path.append('../auf-django-sdk/sdk/django_14/')
9 sys.path.append('../auf-django-sdk/sdk/django_auf_dev/')
10
11 sys.path.append('/var/lib/auf-django-sdk/django_auf/')
12 sys.path.append('/var/lib/auf-django-sdk/django_14/')
13 sys.path.append('/var/lib/auf-django-sdk/django_auf_dev/')
14
15 sys.path.append('./{{ project_name }}/')
16
17 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings")
18
19 from django.core.wsgi import get_wsgi_application
20 application = get_wsgi_application()
21