go on
[auf_skeleton_django.git] / project_name / manage.py
1 # -*- coding: utf-8 -*-
2
3 import os
4 import sys
5
6 PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
7 ROOT_DIR = os.path.dirname(PROJECT_DIR)
8 VENV_DIR = os.path.join(ROOT_DIR, '.virtualenv')
9
10 sys.path.append(ROOT_DIR)
11
12 activate_this = os.path.join(VENV_DIR, 'bin/activate_this.py')
13 execfile(activate_this, dict(__file__=activate_this))
14
15 if __name__ == "__main__":
16 from django.core.management import execute_from_command_line
17 execute_from_command_line(sys.argv)