6👍
✅
There is no path like django.templates
but django.template
(without s
). I am not sure how that comes to django.templates
in your settings since it is auto-generated by the Django itself.
So, change anything that referes django.templates
to django.template
will solve the problem.
👤JPG
0👍
In settings.py
you can remove s
from:
'BACKEND': 'django.templates.backends.django.DjangoTemplates',
So it will be:
'BACKEND': 'django.template.backends.django.DjangoTemplates',
Just this.
- [Django]-How to allow others to connect to my Django website?
- [Django]-Semgrep: Looking for wrong import
Source:stackexchange.com