a29b48f38e78c6d07731f23e236e553705fa1327
[wolnelektury.git] / src / manage.py
1 #!/usr/bin/env python
2 import os
3 import sys
4
5
6 if __name__ == "__main__":
7     os.environ.setdefault(
8         "DJANGO_SETTINGS_MODULE",
9         "wolnelektury.settings.test"
10         if 'test' in sys.argv
11         else "wolnelektury.settings")
12
13     from django.core.management import execute_from_command_line
14
15     execute_from_command_line(sys.argv)