refonte pour le SDK
[auf_skeleton_django.git] / manage.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 if __name__ == "__main__":
18 settings_module = "{{ project_name }}.settings"
19
20 os.environ.setdefault("DJANGO_SETTINGS_MODULE", settings_module)
21 from django.core.management import execute_from_command_line
22 execute_from_command_line(sys.argv)