From 73a33361d373ba32412dcadb4b089e6f774d9fba Mon Sep 17 00:00:00 2001 From: Nikolaus Schlemm Date: Mon, 28 Jan 2019 02:07:52 +0100 Subject: [PATCH] Fixes #82 TypeError: can only concatenate list (not "tuple") to list --- dbtemplates/management/commands/sync_templates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dbtemplates/management/commands/sync_templates.py b/dbtemplates/management/commands/sync_templates.py index 020313e..bc34278 100644 --- a/dbtemplates/management/commands/sync_templates.py +++ b/dbtemplates/management/commands/sync_templates.py @@ -16,6 +16,7 @@ ALWAYS_ASK, FILES_TO_DATABASE, DATABASE_TO_FILES = ('0', '1', '2') DIRS = [] for engine in _engine_list(): DIRS.extend(engine.dirs) +DIRS = tuple(DIRS) app_template_dirs = get_app_template_dirs('templates')