Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #19850 -- Use configured staticfiles storage to find the URL of…

… a static file in the admin.
  • Loading branch information...
commit c12891e8cd629cc16fc5d22e485b87ca3169df2c 1 parent 2f4a470
@jezdez jezdez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/staticfiles/templatetags/staticfiles.py
View
2  django/contrib/staticfiles/templatetags/staticfiles.py
@@ -34,4 +34,4 @@ def do_static(parser, token):
def static(path):
- return StaticNode.handle_simple(path)
+ return staticfiles_storage.url(path)
Please sign in to comment.
Something went wrong with that request. Please try again.