Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit f96dd05542885d9839d4c79639164551e1f01563 1 parent 251f345
@jezdez jezdez authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.