mirror of
https://github.com/django/django.git
synced 2025-08-23 18:29:12 +00:00
[1.5.X] Fixed #19850 -- Use configured staticfiles storage to find the URL of a static file in the admin.
This commit is contained in:
parent
251f345db6
commit
f96dd05542
@ -34,4 +34,4 @@ def do_static(parser, token):
|
|||||||
|
|
||||||
|
|
||||||
def static(path):
|
def static(path):
|
||||||
return StaticNode.handle_simple(path)
|
return staticfiles_storage.url(path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user