Hi man,

where ur template coming from!? to display content you want to.

On Thu, Nov 28, 2019, 19:28 vaneet bawa <vaneetbaw...@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 saying
>
> Best Regards
> Vaneet
>
>
>
> On 28-Nov-2019, at 5:42 PM, Saswat Ray <ray.sasw...@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")
>
> https://docs.djangoproject.com/en/2.2/topics/http/shortcuts/
>
>
> render
> *Thanks*,
> *Saswat*
>
>
>
>
>
> On Thu, Nov 28, 2019 at 5:35 PM vaneet bawa <vaneetbaw...@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+unsubscr...@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
>> <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 django-users+unsubscr...@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
> <https://groups.google.com/d/msgid/django-users/CAEhPkLEJrcfCXsj3C-i058ABE0_1i7Hd%3DCBbS84A9DtqbYa3aQ%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 django-users+unsubscr...@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
> <https://groups.google.com/d/msgid/django-users/205D5E6D-03B1-48A8-BE44-1DEDE11BFE8A%40gmail.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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAP5HUWrtksGXqCwX5-hgwS7gJHzWxk52KoFBbsoxY3Gud%3DYxPg%40mail.gmail.com.

Reply via email to