Re: newforms 0.96.1 error list display

2008-03-02 Thread Panos Laganakos
I *think*, I'm starting to get it :) Found what was keeping the 'required_field' errors from showing though: if request.method is 'POST': should be: if request.method == 'POST': yeah, I know... On Mar 2, 12:41 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-03-02 at

Re: newforms 0.96.1 error list display

2008-03-02 Thread Malcolm Tredinnick
On Sun, 2008-03-02 at 02:24 -0800, Panos Laganakos wrote: > I am used to doing things like: > label for="id_title">Title: {{ form.title }} > {% if form.username.errors %} > {{ form.username.errors|join:", " }} > {% endif %} > > so, yeah :/ > > I thought if the fo

Re: newforms 0.96.1 error list display

2008-03-02 Thread Panos Laganakos
I am used to doing things like: label for="id_title">Title: {{ form.title }} {% if form.username.errors %} {{ form.username.errors|join:", " }} {% endif %} so, yeah :/ I thought if the form was bound (ie, in that case request.POST), it should display the e

Re: newforms 0.96.1 error list display

2008-03-02 Thread Malcolm Tredinnick
On Sun, 2008-03-02 at 02:04 -0800, Panos Laganakos wrote: > It seems weird, true. It might be my mistake, but I can't seem to > figure it out. Here it is: > > form: > > class CustomerForm(forms.Form): > username = forms.CharField(label=_('Username'), max_length=30) > first_name = fo

Re: newforms 0.96.1 error list display

2008-03-02 Thread Panos Laganakos
It seems weird, true. It might be my mistake, but I can't seem to figure it out. Here it is: form: class CustomerForm(forms.Form): username = forms.CharField(label=_('Username'), max_length=30) first_name = forms.CharField(label=_('First name'), max_length=30) last_name =