I just wanted to understand something about adding a templates folder in django. This is the code for including my templates folder, that django conveniently made for me:
TEMPLATE_DIRS = (
# This includes the templates folder
os.path.join(os.path.dirname(__file__), '..', 'templates').replace('\\','/'),
)
What I do not understand is the part with 'templates', why is it not '/templates', or even \\templates in the case of something Unix based? I come here after reading this article, in particular the part about Template Loading.