Molodetz blogrol volgens DPP-template
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# retoor <retoor@molodetz.nl>
|
||||
from molodetz import config
|
||||
|
||||
|
||||
def static_url(path):
|
||||
if not path.startswith("/static/") or path.startswith("/static/uploads/"):
|
||||
return path
|
||||
return f"/static/v{config.STATIC_VERSION}/{path[len('/static/'):]}"
|
||||
Reference in New Issue
Block a user