Permalink
Browse files

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

… a static file in the admin.
  • Loading branch information...
1 parent 2f4a470 commit c12891e8cd629cc16fc5d22e485b87ca3169df2c @jezdez jezdez committed Feb 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 c12891e

Please sign in to comment.