Skip to content
Browse files

[1.5.X] Fixed #19850 -- Use configured staticfiles storage to find th…

…e URL of a static file in the admin.
  • Loading branch information...
1 parent 251f345 commit f96dd05542885d9839d4c79639164551e1f01563 @jezdez jezdez committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/staticfiles/templatetags/
2 django/contrib/staticfiles/templatetags/
@@ -34,4 +34,4 @@ def do_static(parser, token):
def static(path):
- return StaticNode.handle_simple(path)
+ return staticfiles_storage.url(path)

0 comments on commit f96dd05

Please sign in to comment.
Something went wrong with that request. Please try again.