Hi man,
where ur template coming from!? to display content you want to.
On Thu, Nov 28, 2019, 19:28 vaneet bawa <vaneetbawa01@gmail.com> wrote:
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 sayingBest RegardsVaneetOn 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.pyreturn 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 RegardsVaneet
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.
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/205D5E6D-03B1-48A8-BE44-1DEDE11BFE8A%40gmail.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/CAP5HUWrtksGXqCwX5-hgwS7gJHzWxk52KoFBbsoxY3Gud%3DYxPg%40mail.gmail.com.
No comments:
Post a Comment