reg: NoReverseMatch at "login"

2020-04-28 Thread 'Amitesh Sahay' via Django users
Hi, Its a shame that I am not able to resolve this simple issue. Explanation as below Once the user login, he/she will be rendered to a page called (chitrr.html). This I have mentioned as a "return redirect('chitrr')". But when I login, it is giving "NoReverseMatch" error.  It's ironic that ever

Re: reg: NoReverseMatch at "login"

2020-04-28 Thread 'Adrian Havenga-Bennett' via Django users
Hello Redirect should call the view rather than the html page. Whichever view is handling the rendering of the chittr.html page is what should be the argument for redirect. Sent from my iPhone > On 28 Apr 2020, at 16:28, 'Amitesh Sahay' via Django users > wrote: > >  > Hi, > > Its a shame

Re: reg: NoReverseMatch at "login"

2020-04-28 Thread 'Amitesh Sahay' via Django users
Well, I can try your suggestion. But I am little unsure of the outcome though. Will update. Thank you  Sent from Yahoo Mail on Android On Tue, 28 Apr 2020 at 23:05, 'Adrian Havenga-Bennett' via Django users wrote: Hello Redirect should call the view rather than the html page. Whichever vi

Re: reg: NoReverseMatch at "login"

2020-04-28 Thread 'Amitesh Sahay' via Django users
That didn't work. we need to redirect to a web page, and not a function. May be I am wrong. As I have said, it was working before, and suddenly it stopped working. Not sure what went wrong. Regards,Amitesh On Wednesday, 29 April, 2020, 12:52:16 am IST, 'Amitesh Sahay' via Django users wro

Re: reg: NoReverseMatch at "login"

2020-04-29 Thread 'Amitesh Sahay' via Django users
Forget it, I figured out the issue. Solved it.. As said silly mistake... Sent from Yahoo Mail on Android On Wed, 29 Apr 2020 at 10:15, 'Amitesh Sahay' via Django users wrote: That didn't work. we need to redirect to a web page, and not a function. May be I am wrong. As I have said, it wa