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")
https://docs.djangoproject.com/en/2.2/topics/http/shortcuts/ render *Thanks*, *Saswat* On Thu, Nov 28, 2019 at 5:35 PM vaneet bawa <[email protected]> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAKubXnzO%3DQizgnNaHWZoYwxXWMjCbj-bzkbxmOzcV6WZsyO_Ow%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAKubXnzO%3DQizgnNaHWZoYwxXWMjCbj-bzkbxmOzcV6WZsyO_Ow%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEhPkLEJrcfCXsj3C-i058ABE0_1i7Hd%3DCBbS84A9DtqbYa3aQ%40mail.gmail.com.

