1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

This commit is contained in:
Tim Graham 2016-12-19 10:48:13 -05:00
parent 12c1d6fe8f
commit a85e84212e

View File

@ -5,7 +5,7 @@ from django.utils.six.moves.urllib.parse import urljoin
from ..utils import setup 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): class StaticTagTests(SimpleTestCase):
libraries = {'static': 'django.templatetags.static'} libraries = {'static': 'django.templatetags.static'}