Initially I had written the "else" statement at the wrong place. Moved it under
the very first "if" and used then returned the HTTPresponse on the right place
inside the function
Regards,
Amitesh S
On Wednesday, 13 November, 2019, 5:42:57 AM IST, o1bigtenor
wrote:
On Tue, Nov 12,
On Tue, Nov 12, 2019 at 12:39 PM 'Amitesh Sahay' via Django users
wrote:
>
> Hello Kasper,
>
> Thank you for the hint. I found my mistake and resolved it.
>
So what did you do?
(doesn't need to have all the detail just the idea please)
TIA
--
You received this message because you are subscribed
Hello Kasper,
Thank you for the hint. I found my mistake and resolved it.
Regards,
Amitesh
On Tuesday, 12 November, 2019, 2:02:09 AM IST, Kasper Laudrup
wrote:
Hi Amitesh,
In this view:
On 11/11/2019 20.36, 'Amitesh Sahay' via Django users wrote:
>
> def contact(request):
>
Hi Amitesh,
In this view:
On 11/11/2019 20.36, 'Amitesh Sahay' via Django users wrote:
def contact(request):
if request.method =='POST':
name_r = request.POST.get('name')
email_r = request.POST.get('email')
phone_r = request.POST.get('phone')
comment_r
4 matches
Mail list logo