fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Authors in collections
[wolnelektury.git]
/
src
/
wolnelektury
/
wsgi.py
diff --git
a/src/wolnelektury/wsgi.py
b/src/wolnelektury/wsgi.py
index
01a8e17
..
5fc78fe
100644
(file)
--- 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
-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")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wolnelektury.settings")