mirror of
https://github.com/Rushilwiz/launchx.git
synced 2025-04-05 12:40:18 -04:00
fix: made urls resolve better
This commit is contained in:
parent
d4c392916c
commit
3c2507e7f2
|
@ -9,4 +9,7 @@ def static(file_location):
|
|||
|
||||
@register.simple_tag
|
||||
def url(url):
|
||||
return settings.URL_PREFIX + url
|
||||
if url[-1] == '/':
|
||||
return settings.URL_PREFIX + url
|
||||
else:
|
||||
return settings.URL_PREFIX + url + '/'
|
Loading…
Reference in New Issue
Block a user