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 2f4a4703e1
commit c12891e8cd
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)