2 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
9 if __name__ == "__main__":
10 os.environ.setdefault(
11 "DJANGO_SETTINGS_MODULE",
12 "wolnelektury.settings.test"
14 else "wolnelektury.settings")
16 from django.core.management import execute_from_command_line
18 execute_from_command_line(sys.argv)