it seems that the path specified in TEMPLATE_DIRSis incorrect. You can specify a path, for example
import os
PROJECT_PATH = os.path.dirname(os.path.realpath(__file__))
TEMPLATE_DIRS = (os.path.join(PROJECT_PATH, '../templates'),)
where templatesis the directory where your templates are located.
source
share