#11059: Doc <-> Functionallity [FormsAPI Dynamic initial values] difference
-----------------------------+----------------------------------------------
 Reporter:  bencoder         |       Owner:  nobody    
   Status:  new              |   Milestone:            
Component:  Forms            |     Version:  1.0       
 Keywords:  dynamic initial  |       Stage:  Unreviewed
Has_patch:  0                |  
-----------------------------+----------------------------------------------
 Hi!

 {{{ These values are only displayed for unbound forms, and they're not
 used as fallback values if a particular value isn't provided. }}}

 That's wrong. ''!ModelForm.init''-Code loads the data from the DB-Record
 into a Dict and ''update''s that dict with the ''initial''-dict.

 So the '''initial''' values are '''always used''', not just for unbound
 Forms.

 thanks,
 bencoder

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11059>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to