Hey All,

I'm trying to use newforms to create a form to login on my site
(there's some stuff in the userprofile which prevents me from using
ths standard django.contrib.auth.views.login view)

I nearly have everything set up just as I'd like it.. but it seems
that when newforms validators have performed their stuff on my form,
and found no validation errors of their own, they won't let me add
anything to the empty list which calling form['fieldname'] will give
you.

I've tried form['fieldname'].append('whatever') and form['fieldname']
+= ['whatever'] -- both with no avail.

Could someone perhaps explain to me what I could do to work around the
AttributeError that I get every time I try something like this. For
the record, I can append to the list when there _are_ validation
errors. Seems strange to me.

Many Thanks,
Oliver


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to