Little fix silly bug
This commit is contained in:
parent
65e4efb987
commit
27b1dc5386
1 changed files with 2 additions and 2 deletions
|
|
@ -48,8 +48,8 @@ else:
|
||||||
|
|
||||||
def make_media_url(file_path):
|
def make_media_url(file_path):
|
||||||
|
|
||||||
return config.media_url+'media/'+file_path
|
return config.media_url+'/media/'+file_path
|
||||||
|
|
||||||
def make_media_url_module(file_path, module):
|
def make_media_url_module(file_path, module):
|
||||||
|
|
||||||
return config.media_url+'media/'+module+'/'+file_path
|
return config.media_url+'/media/'+module+'/'+file_path
|
||||||
Loading…
Add table
Add a link
Reference in a new issue