fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a filter
[wolnelektury.git]
/
src
/
wolnelektury
/
wsgi.py
diff --git
a/src/wolnelektury/wsgi.py
b/src/wolnelektury/wsgi.py
index
01a8e17
..
ff02bbb
100644
(file)
--- a/
src/wolnelektury/wsgi.py
+++ b/
src/wolnelektury/wsgi.py
@@
-1,14
+1,7
@@
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. 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")