diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-19 10:48:13 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-12-19 12:37:38 -0500 |
| commit | a85e84212e0c0aa05a7c7ddd3ca81a4228ef013e (patch) | |
| tree | ff43ba992875595aad7cd5328104546077ec9041 /tests/template_tests/syntax_tests/test_static.py | |
| parent | 12c1d6fe8f03f068f6010e3c8e0f441bf2567e7c (diff) | |
Refs #21221 -- Prevented {% static %} tests from using contrib.staticfiles.
Diffstat (limited to 'tests/template_tests/syntax_tests/test_static.py')
| -rw-r--r-- | tests/template_tests/syntax_tests/test_static.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template_tests/syntax_tests/test_static.py b/tests/template_tests/syntax_tests/test_static.py index 0cbe23a65a..d5ca9ecf60 100644 --- a/tests/template_tests/syntax_tests/test_static.py +++ b/tests/template_tests/syntax_tests/test_static.py @@ -5,7 +5,7 @@ from django.utils.six.moves.urllib.parse import urljoin from ..utils import setup -@override_settings(MEDIA_URL="/media/", STATIC_URL="/static/") +@override_settings(INSTALLED_APPS=[], MEDIA_URL='/media/', STATIC_URL='/static/') class StaticTagTests(SimpleTestCase): libraries = {'static': 'django.templatetags.static'} |
