Re: Problems with django.contrib.auth.views.login

2008-10-02 Thread F Pighi
On Oct 1, 9:55 pm, Denis Morozov <[EMAIL PROTECTED]> wrote: > Try >  {% if form.errors %} >                          Your username and password didn't match. >                          Please try again. > {% endif %} This is working, thank you :-) --~--~-~--~~~---~--~-

Re: Problems with django.contrib.auth.views.login

2008-10-02 Thread F Pighi
On Oct 1, 11:21 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > Assuming you are actually using Django 1.0, you'll need to keep in mind that > some things have changed (forms & admin definitions are two biggies) between > what the book is describing and the version you are using.  In cases where >

Re: Problems with django.contrib.auth.views.login

2008-10-01 Thread Karen Tracey
On Wed, Oct 1, 2008 at 3:55 PM, Denis Morozov <[EMAIL PROTECTED]> wrote: > > Try > {% if form.errors %} > Your username and password didn't match. > Please try again. > {% endif %} > Note this is not an error in the book but rather an indication t

Re: Problems with django.contrib.auth.views.login

2008-10-01 Thread Denis Morozov
Try {% if form.errors %} Your username and password didn't match. Please try again. {% endif %} On Oct 1, 10:53 pm, F Pighi <[EMAIL PROTECTED]> wrote: > Hello folks, in these days I'm trying to learn a little bit of Django > for an imminent proje

Problems with django.contrib.auth.views.login

2008-10-01 Thread F Pighi
Hello folks, in these days I'm trying to learn a little bit of Django for an imminent project. I'm following the book titled "Learning website development with Django" by Packt, but I've got some problems at chapter 4 with the login process. The following is the url.py file: from django.conf.urls