Re: redirct page

2013-07-06 Thread Kakar Arunachal Service
thank you much! That did solved the problem! On Sat, Jul 6, 2013 at 7:15 PM, Black9design.com wrote: > I noticed in the snippet that you provided that it says "form methon". See > if that is the issue. > > On Jul 6, 2013, at 6:29 AM, Kakar Arunachal Service < > kakararunachalserv...@gmail.com> w

Re: redirct page

2013-07-06 Thread Black9design.com
I noticed in the snippet that you provided that it says "form methon". See if that is the issue. On Jul 6, 2013, at 6:29 AM, Kakar Arunachal Service wrote: > Hello! Thanks for the correction! But even after the {% csrf_token %} tag its > not redirecting to the main index page. :( > > > On S

Re: redirct page

2013-07-06 Thread François Schiettecatte
Well 'methon' should be 'method', probably does not bother the browser though, but redirection is something that is issued by your app, not the form. You should check: https://docs.djangoproject.com/en/1.5/topics/http/shortcuts/#redirect On Jul 6, 2013, at 9:29 AM, Kakar Arunachal Service w

Re: redirct page

2013-07-06 Thread Kakar Arunachal Service
Hello! Thanks for the correction! But even after the {% csrf_token %} tag its not redirecting to the main index page. :( On Sat, Jul 6, 2013 at 6:45 PM, Tomas Ehrlich wrote: > Hi there, > you're certaily missing {% csfr_token %} in your form. > > If it doesn't solve the problem, you need to prov

Re: redirct page

2013-07-06 Thread Tomas Ehrlich
Hi there, you're certaily missing {% csfr_token %} in your form. If it doesn't solve the problem, you need to provide more info and be more specific about your "trouble". Dne Sat, 6 Jul 2013 17:44:04 +0530 Kakar Arunachal Service napsal(a): > Hi, > I am having trouble with redirecting the logi

Re: redirct page

2013-07-06 Thread Amirouche Boubekki
Hi, Redirection is done in the view after form processing et al. with redirect shortcut 2013/7/6 Kakar Arunachal Service > Hi, > I am having trouble with redirecting the login page to index page. Please > guide me. > > Here

redirct page

2013-07-06 Thread Kakar Arunachal Service
Hi, I am having trouble with redirecting the login page to index page. Please guide me. Here's the html snippet: User Login {% if form.errors %} Your username and password didn't match. Please try again. {% endif %}