I don't know what it is, but I got a title error in Django. ** Simple story ** I guess it's a memorandum.
Django tried loading these templates, in this order: Using loader django.template.loaders.filesystem.Loader: Using loader django.template.loaders.app_directories.Loader: C:\Python34\lib\site-packages\django\contrib\admin\templates\cms\book_list.html (File does not exist) C:\Python34\lib\site-packages\django\contrib\auth\templates\cms\book_list.html (File does not exist) C:\Python34\lib\site-packages\bootstrapform\templates\cms\book_list.html (File does not exist)
in settings.py
TEMPLATE_DIRS = ( os.path.join('mybook', 'templates'), )
Then Loader found it.
It seems to be smarter to add ↓ because it seems to be searched under the location of settings.py.
SETTINGS_PATH = os.path.normpath(os.path.dirname(__file__)) TEMPLATE_DIRS = ( os.path.join(SETTINGS_PATH, 'templates'), )
Something like this.