mirror of https://github.com/django/django.git
[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):
|
||||
return StaticNode.handle_simple(path)
|
||||
return staticfiles_storage.url(path)
|
||||
|
|
Loading…
Reference in New Issue