diff options
| author | Jannis Leidel <jannis@leidel.info> | 2013-02-23 14:35:52 +0100 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2013-02-23 14:36:51 +0100 |
| commit | c12891e8cd629cc16fc5d22e485b87ca3169df2c (patch) | |
| tree | 98bcbea0a5e108ead367229384022871a0974c55 | |
| parent | 2f4a4703e1931fadf5ed81387b26cf84caf5bef9 (diff) | |
Fixed #19850 -- Use configured staticfiles storage to find the URL of a static file in the admin.
| -rw-r--r-- | django/contrib/staticfiles/templatetags/staticfiles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/staticfiles/templatetags/staticfiles.py b/django/contrib/staticfiles/templatetags/staticfiles.py index 71339ea8cd..ab922757e2 100644 --- a/django/contrib/staticfiles/templatetags/staticfiles.py +++ b/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) |
