The TEMPLATE_DIRS setting must be a tuple. Please fix your settings.