diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-01-21 13:38:52 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-01-23 10:30:10 -0500 |
| commit | 7d607127e39792aa45b6abc2619b99fc55bcc672 (patch) | |
| tree | bec3a8e16ac489b669d63fb5025b0f05896f683c /tests/staticfiles_tests/cases.py | |
| parent | f0f383b6350c7b2f64bb2a6491a395abdd3313d6 (diff) | |
Refs #21221 -- Deprecated staticfiles and admin_static template tag libraries.
Diffstat (limited to 'tests/staticfiles_tests/cases.py')
| -rw-r--r-- | tests/staticfiles_tests/cases.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/staticfiles_tests/cases.py b/tests/staticfiles_tests/cases.py index 3adf5cf211..918ec4f99e 100644 --- a/tests/staticfiles_tests/cases.py +++ b/tests/staticfiles_tests/cases.py @@ -34,8 +34,8 @@ class BaseStaticFilesMixin: def static_template_snippet(self, path, asvar=False): if asvar: - return "{%% load static from staticfiles %%}{%% static '%s' as var %%}{{ var }}" % path - return "{%% load static from staticfiles %%}{%% static '%s' %%}" % path + return "{%% load static from static %%}{%% static '%s' as var %%}{{ var }}" % path + return "{%% load static from static %%}{%% static '%s' %%}" % path def assertStaticRenders(self, path, result, asvar=False, **kwargs): template = self.static_template_snippet(path, asvar) |
