TemplateDoesNotExist Again

22 views
Skip to first unread message

Arindam Pradhan

unread,
Dec 21, 2015, 9:06:47 AM12/21/15
to Django users
Hi I am new to django community, I want to file a bug regarding a problem similar to this.
Also when I use render rather than render_to_response in django 1.8, I do not get a hint that file_exist when using a form.
Can't we change the error from templateDoesNotExist with something else like IncorrectTemplate ... or something else.
I am new to the community, hence want to know where to file an issue for this or if an issue has been submitted regarding this already. 

Regards,
Arindam Pradhan

Tim Graham

unread,
Dec 21, 2015, 10:28:48 AM12/21/15
to Django users
Could you check if it's still an issue on Django 1.9? There were several improvements to template loading in that release [1]. If it is, could you provide a sample project with the exact case to be improved?

[1] https://docs.djangoproject.com/en/1.9/releases/1.9/#filesystem-based-template-loaders-catch-more-specific-exceptions

cquptzzq

unread,
Dec 24, 2015, 8:57:20 AM12/24/15
to Django users
Maybe there is a trouble in settings.py.
Maybe you got a wrong template dirs.
You can try that way.

在 2015年12月21日星期一 UTC+8下午10:06:47,Arindam Pradhan写道:
Reply all
Reply to author
Forward
0 new messages