Thanks! Exactly what I needed. I subsequently found it in newforms/
forms.py. Duh! I think my eyes just glazed over when I saw all that
complicated new-style Python class stuff.
On Oct 17, 1:10 pm, Doug B <[EMAIL PROTECTED]> wrote:
> The bound data and initial data dicts are just set on the form
> instance as form.data, and form.initial. This isn't 'clean' data
> though, so you are bypassing any newforms validation.
>
> a = AForm( initial = {'x': 1} )
> a.initial['x']
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---