Add STATIC_URL setting to quicktest.py so that tests pass for Django versions 1.5 through 1.7

This commit is contained in:
Jonathan Barratt 2015-06-03 15:42:35 +07:00
parent 9c60350193
commit fd6988aad7

View File

@ -90,6 +90,7 @@ class QuickDjangoTest(object):
INSTALLED_APPS = self.INSTALLED_APPS + self.apps,
MIDDLEWARE_CLASSES = self.MIDDLEWARE_CLASSES,
ROOT_URLCONF = self.apps[0] + '.urls',
STATIC_URL = '/static/'
)
if django.VERSION >= (1, 7):