fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Django 2.0
[wolnelektury.git]
/
src
/
wolnelektury
/
wsgi.py
diff --git
a/src/wolnelektury/wsgi.py
b/src/wolnelektury/wsgi.py
index
245e15d
..
fe72d39
100644
(file)
--- a/
src/wolnelektury/wsgi.py
+++ b/
src/wolnelektury/wsgi.py
@@
-1,14
+1,5
@@
# -*- coding: utf-8 -*-
import os
# -*- coding: utf-8 -*-
import os
-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")