move
[auf_skeleton_django.git] / manage.py
1 # -*- coding: utf-8 -*-
2
3 import os
4 import sys
5
6 ROOT_DIR = os.path.dirname(__file__)
7 VENV_DIR = os.path.join(ROOT_DIR, '.virtualenv')
8 PROJECT_DIR = os.path.join(ROOT_DIR, '{{ project_name }}')
9
10 sys.path.append(PROJECT_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)