Librarian in requirements.
[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)