fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move Piwik Tracking API calls to Celery.
[wolnelektury.git]
/
apps
/
waiter
/
settings.py
diff --git
a/apps/waiter/settings.py
b/apps/waiter/settings.py
index
fef4a7e
..
08e88d3
100644
(file)
--- a/
apps/waiter/settings.py
+++ b/
apps/waiter/settings.py
@@
-1,10
+1,10
@@
-from os.path import join
+from os.path import
abspath,
join
from django.conf import settings
try:
from django.conf import settings
try:
- WAITER_ROOT =
settings.WAITER_ROOT
+ WAITER_ROOT =
abspath(settings.WAITER_ROOT)
except AttributeError:
except AttributeError:
- WAITER_ROOT =
join(settings.MEDIA_ROOT, 'waiter'
)
+ WAITER_ROOT =
abspath(join(settings.MEDIA_ROOT, 'waiter')
)
try:
WAITER_URL = settings.WAITER_URL
try:
WAITER_URL = settings.WAITER_URL