You'll need to load an instance of the model, which will pre-populate
the data:

http://www.djangoproject.com/documentation/newforms/#form-for-instance

On Sep 11, 7:15 am, AniNair <[EMAIL PROTECTED]> wrote:
> Hi...
>    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 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