5 ROOT = os.path.dirname(os.path.abspath(__file__))
7 os.path.join(ROOT, 'apps'),
8 os.path.join(ROOT, 'lib'),
9 os.path.join(ROOT, 'lib/librarian'),
12 if __name__ == "__main__":
13 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wolnelektury.settings")
15 from django.core.management import execute_from_command_line
17 execute_from_command_line(sys.argv)