thank you much! That did solved the problem!
On Sat, Jul 6, 2013 at 7:15 PM, Black9design.com <[email protected]>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 < > [email protected]> wrote: > > 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 <[email protected]>wrote: > >> 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 <[email protected]> napsal(a): >> >> > Hi, >> > I am having trouble with redirecting the login page to index page. >> Please >> > guide me. >> > >> > Here's the html snippet: >> > <body> >> > <h1>User Login</h1> >> > {% if form.errors %} >> > <p>Your username and password didn't match. >> > Please try again.</p> >> > {% endif %} >> > <form methon="post" action="."> >> > <p><label for = "id_username">Username:</label>{{ >> form.username >> > }}</p> >> > <p><label for = "id_password">Password:</label>{{ >> form.password >> > }}</p> >> > <input type="hidden" name="next" value="/" /> >> > <input type="submit" value="login" /> >> > </form> >> > </body> >> > >> > Thanks. >> > >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/django-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.

