Permalink
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 Feb 23, 2013
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)

0 comments on commit f96dd05

Please sign in to comment.