mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
Merge pull request #97 from nschlemm/patch-1
Fix flake8 W504 line break after binary operator
This commit is contained in:
commit
cef1ec49c0
1 changed files with 3 additions and 2 deletions
|
|
@ -25,8 +25,9 @@ class DbTemplatesTestCase(TestCase):
|
|||
self.old_template_loaders = settings.TEMPLATE_LOADERS
|
||||
if 'dbtemplates.loader.Loader' not in settings.TEMPLATE_LOADERS:
|
||||
loader.template_source_loaders = None
|
||||
settings.TEMPLATE_LOADERS = (list(settings.TEMPLATE_LOADERS) +
|
||||
['dbtemplates.loader.Loader'])
|
||||
settings.TEMPLATE_LOADERS = list(settings.TEMPLATE_LOADERS) + [
|
||||
'dbtemplates.loader.Loader'
|
||||
]
|
||||
|
||||
self.site1, created1 = Site.objects.get_or_create(
|
||||
domain="example.com", name="example.com")
|
||||
|
|
|
|||
Loading…
Reference in a new issue