On 11 Sep., 08:15, AniNair <[EMAIL PROTECTED]> wrote:
>    I am trying to learn python and django.  Can someone please tell me
> how to populate some fields in a form? I want to have certain values
> present in CharField  or Textfield . (Eg:For editing a profile: the
> data previously entered needs to be present in the resp fields...)
> Please help. Thank you....

You can also use the initial parameter when instantiating the form:

  http://www.djangoproject.com/documentation/newforms/#dynamic-initial-values


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