Re: Django tutorial - Misleading instructions

2017-06-30 Thread ecas
As Tim said, the APP_DIRS flag enables the app template loader. https://docs.djangoproject.com/en/1.11/ref/templates/api/#django.template.loaders.app_directories.Loader "Loads templates from Django apps on the filesystem. For each app in INSTALLED_APPS

Re: Django tutorial - Misleading instructions

2017-06-29 Thread Tim Graham
The 'g_auth/templates' directory should be searched because of 'APP_DIRS': True. Is 'g_auth' in INSTALLED_APPS? On Thursday, June 29, 2017 at 9:54:27 PM UTC-4, Justin Stubbs wrote: > > Hi Guys, > > Im following the tutorial > https://docs.djangoproject.com/en/1.11/intro/tutorial03/ and have foun

Django tutorial - Misleading instructions

2017-06-29 Thread Justin Stubbs
Hi Guys, Im following the tutorial https://docs.djangoproject.com/en/1.11/intro/tutorial03/ and have found that the section on templates doesn't appear to be correct. The section talks about how django templates are loaded by default if you put them in the correct path: