Refs #21221 -- Prevented {% static %} tests from using contrib.staticfiles.
This commit is contained in:
parent
12c1d6fe8f
commit
a85e84212e
|
@ -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'}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue