Thursday, November 28, 2019

Re:

First of all thanks Saswat for the response but i have already done this thing on my views.py but my html file is not displaying anything rather it throws an exception templatedoesnot exit

I hope you are geeting what i am saying 

Best Regards
Vaneet



On 28-Nov-2019, at 5:42 PM, Saswat Ray <ray.saswat2@gmail.com> wrote:


Django app expects a response from your  view file to render and show to user.You need add a template to render. like in views.py
return render(request, "xyz.html")


On Thu, Nov 28, 2019 at 5:35 PM vaneet bawa <vaneetbawa01@gmail.com> wrote:
Exception Type: TemplateDoesNotExist 

Could someone please tell me that i m getting this error how I can handle it...

what i m trying to do is i have created a input field and in that field i m providing a message and then i want that on button click that message should be displayed on my console....

Best Regards
Vaneet

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKubXnzO%3DQizgnNaHWZoYwxXWMjCbj-bzkbxmOzcV6WZsyO_Ow%40mail.gmail.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEhPkLEJrcfCXsj3C-i058ABE0_1i7Hd%3DCBbS84A9DtqbYa3aQ%40mail.gmail.com.

No comments:

Post a Comment