1) The newforms documentation shows you how to pass request.POST into
the form (see the view example):

http://www.djangoproject.com/documentation/newforms/

2) You don't need to put the user in your form in order to do initial
data. Just pass the form an initial dict when you make an instance of
it:

form = MyForm(initial={'u_email': ed_user.email, 'u_add':
ed_user.address, 'u_ph': ed_user.phone})


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to