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