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