in django template code example
Example 1: how to connect templates in django
# Template directory setting
TEMPLATE_DIRS = (
os.path.join(os.path.dirname(__file__), 'templates'),
)
Example 2: django html templates
Django templates folder
# Template directory setting
TEMPLATE_DIRS = (
os.path.join(os.path.dirname(__file__), 'templates'),
)
Django templates folder