diff --git a/django/contrib/admin/templatetags/admin_static.py b/django/contrib/admin/templatetags/admin_static.py index ce96960a47..b767dc7459 100644 --- a/django/contrib/admin/templatetags/admin_static.py +++ b/django/contrib/admin/templatetags/admin_static.py @@ -5,6 +5,7 @@ register = Library() _static = None + @register.simple_tag def static(path): global _static