1
0
mirror of https://github.com/django/django.git synced 2025-01-11 02:46:13 +00:00

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

View File

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