[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:
Jannis Leidel 2013-02-23 14:35:52 +01:00
parent 251f345db6
commit f96dd05542
1 changed files with 1 additions and 1 deletions

View File

@ -34,4 +34,4 @@ def do_static(parser, token):
def static(path):
return StaticNode.handle_simple(path)
return staticfiles_storage.url(path)