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 <o1bigte...@gmail.com> wrote: On Tue, Nov 12, 2019 at 12:39 PM 'Amitesh Sahay' via Django users <django-users@googlegroups.com> 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 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/CAPpdf5_RVtwmN73i5%3Dm2LmBdboYVfHvqY3dJyuqHxYQYbRzB_Q%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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/424090062.3213208.1573671943319%40mail.yahoo.com.