Set TEMPLATE_DIRS on settings
Fix pep9, E225 missing whitespace around operator