Fixed #19850 -- Use configured staticfiles storage to find the URL of a static file in the admin.
This commit is contained in:
parent
2f4a4703e1
commit
c12891e8cd
|
@ -34,4 +34,4 @@ def do_static(parser, token):
|
|||
|
||||
|
||||
def static(path):
|
||||
return StaticNode.handle_simple(path)
|
||||
return staticfiles_storage.url(path)
|
||||
|
|
Loading…
Reference in New Issue