0984221761f7708119704c9373bd4ed736dfc091
[turniej.git] / manage.py
1 #!/usr/bin/env python
2 import os
3 import sys
4
5 ROOT = os.path.dirname(os.path.abspath(__file__))
6 sys.path = [
7     os.path.join(ROOT, 'apps'),
8 ] + sys.path
9
10 if __name__ == "__main__":
11     os.environ.setdefault("DJANGO_SETTINGS_MODULE", "turniej.settings")
12
13     from django.core.management import execute_from_command_line
14
15     execute_from_command_line(sys.argv)