What for TEMPLATE_DIRS in settings.py ?

To indicate the directory in which template files are.

TEMPLATE_DIRS = (

os.path.join(os.path.dirname(__file__), “templates”),

)

Leave a comment