X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..e62a2d9038d696e88b58e624f87026af7073088e:/src/wolnelektury/wsgi.py diff --git a/src/wolnelektury/wsgi.py b/src/wolnelektury/wsgi.py index 01a8e1747..5fc78fec0 100644 --- a/src/wolnelektury/wsgi.py +++ b/src/wolnelektury/wsgi.py @@ -1,14 +1,7 @@ +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# import os -import os.path -import sys - -ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - -# Add apps and lib directories to PYTHONPATH -sys.path = [ - os.path.join(ROOT, '../lib/librarian'), -] + sys.path - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wolnelektury.settings")