Tuesday, June 26, 2018

Where setting up templates directory in settings.py

Hello,

I didn't solve my issue on adding the templates directories in setting.py. I always the same error :
See my project in zip  file

Thanks in advance

Emmanuel

TemplateDoesNotExist at /blog/date

blog/date.html
Request Method: GET
Request URL: http://127.0.0.1:8000/blog/date
Django Version: 1.11.11
Exception Type: TemplateDoesNotExist
Exception Value:
blog/date.html
Exception Location: /usr/lib/python2.7/dist-packages/django/template/loader.py in get_template, line 25
Python Executable: /usr/bin/python
Python Version: 2.7.15
Python Path:
['/home/manu/crepes_bretonnes',   '/usr/lib/python2.7',   '/usr/lib/python2.7/plat-x86_64-linux-gnu',   '/usr/lib/python2.7/lib-tk',   '/usr/lib/python2.7/lib-old',   '/usr/lib/python2.7/lib-dynload',   '/usr/local/lib/python2.7/dist-packages',   '/usr/lib/python2.7/dist-packages']

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/aa6f9fd3-60a7-49a3-bd91-9d903c6bc1b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment