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
1 changed files with 1 additions and 1 deletions

View File

@ -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'}