2
0
Эх сурвалжийг харах

Refs #21221 -- Prevented {% static %} tests from using contrib.staticfiles.

Tim Graham 8 жил өмнө
parent
commit
a85e84212e

+ 1 - 1
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'}