fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie link do naszych kont na facebooku, twitterze i naszej klasie w nagłówku.
[wolnelektury.git]
/
apps
/
compress
/
utils.py
diff --git
a/apps/compress/utils.py
b/apps/compress/utils.py
index
1e0681f
..
3c59728
100644
(file)
--- a/
apps/compress/utils.py
+++ b/
apps/compress/utils.py
@@
-58,10
+58,10
@@
def media_root(filename):
"""
Return the full path to ``filename``. ``filename`` is a relative path name in MEDIA_ROOT
"""
"""
Return the full path to ``filename``. ``filename`` is a relative path name in MEDIA_ROOT
"""
- return os.path.join(django_settings.
MEDIA
_ROOT, filename)
+ return os.path.join(django_settings.
STATIC
_ROOT, filename)
def media_url(url):
def media_url(url):
- return django_settings.
MEDIA
_URL + urlquote(url)
+ return django_settings.
STATIC
_URL + urlquote(url)
def concat(filenames, separator=''):
"""
def concat(filenames, separator=''):
"""