To be able to find the template file in django, everybody said you should amend the settings.py like this:
TEMPLATES = [{
'DIRS': [os.path.join(BASE_DIR, 'templates')]
}]
but I found that this also works:
TEMPLATES = [{
'DIRS': ['templates'],
}]
My question is what is the difference between them. Why does no one recommend 'DIRS': ['templates']
?