From a85e84212e0c0aa05a7c7ddd3ca81a4228ef013e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 19 Dec 2016 10:48:13 -0500 Subject: [PATCH] Refs #21221 -- Prevented {% static %} tests from using contrib.staticfiles. --- tests/template_tests/syntax_tests/test_static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}