Re: Forms and formating error messages

2007-06-28 Thread AnaReis
On Jun 27, 9:41 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2007-06-27 at 02:26 -0700, AnaReis wrote: > > Hi again, > > This is getting very frustrating because I can't make this work... > > This is exactly what I wrote in the files: > > In future, please remember that when you s

Re: Forms and formating error messages

2007-06-27 Thread Malcolm Tredinnick
On Wed, 2007-06-27 at 02:26 -0700, AnaReis wrote: > Hi again, > This is getting very frustrating because I can't make this work... > This is exactly what I wrote in the files: In future, please remember that when you send a message like this, a lot of us are reading it through an e-mail interface

Re: Forms and formating error messages

2007-06-27 Thread AnaReis
Hi again, This is getting very frustrating because I can't make this work... This is exactly what I wrote in the files: [newforms.py] from django import newforms as forms from django.newforms.forms import BoundField from django.template import Context, loader class TemplatedForm(forms.Form):

Re: Forms and formating error messages

2007-06-26 Thread AnaReis
I managed to solve this: from Manager.utils.newforms import TemplatedForm Thanks for the help! Ana --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djang

Re: Forms and formating error messages

2007-06-26 Thread AnaReis
Hum... I tried to test the imports on IDLE but I couldn't import the file in anyway I tried.. I went to the Path Browser on IDLE and I couldn't find the newforms.py file that I created. I then noticed that in all the other folders there was a file named __init__.py, so I copied one of those init

Re: Forms and formating error messages

2007-06-26 Thread AnaReis
On Jun 26, 3:09 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2007-06-25 at 08:22 -0700, AnaReis wrote: > > Hi, > > I was trying to change the way in which the errors are presented in a > > form. > > I tried to put them in: > > {{field.label}}:{{field}}{% if > > field.field.require

Re: Forms and formating error messages

2007-06-25 Thread Malcolm Tredinnick
On Mon, 2007-06-25 at 08:22 -0700, AnaReis wrote: > Hi, > I was trying to change the way in which the errors are presented in a > form. > I tried to put them in: > {{field.label}}:{{field}}{% if > field.field.required %}*{%endif%} td>{%if field.errors%}{{field.errors}} span>{%endif%} > but I still

Forms and formating error messages

2007-06-25 Thread AnaReis
Hi, I was trying to change the way in which the errors are presented in a form. I tried to put them in: {{field.label}}:{{field}}{% if field.field.required %}*{%endif%}{%if field.errors%}{{field.errors}}{%endif%} but I still get them formatted as an and I would like the errors to appear as simple