Re: [Django] #11059: Doc <-> Functionallity [FormsAPI Dynamic initial values] difference

2010-07-08 Thread Django
#11059: Doc <-> Functionallity [FormsAPI Dynamic initial values] difference
---+
  Reporter:  bencoder  | Owner:  nobody 
Status:  closed| Milestone: 
 Component:  Forms |   Version:  1.0
Resolution:  invalid   |  Keywords:  dynamic initial
 Stage:  Accepted  | Has_patch:  0  
Needs_docs:  0 |   Needs_tests:  0  
Needs_better_patch:  0 |  
---+
Changes (by mattmcc):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 You've misinterpreted the source.  If a form is bound, initial data is
 ignored completely.

-- 
Ticket URL: 
Django 
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-upda...@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.



Re: [Django] #11059: Doc <-> Functionallity [FormsAPI Dynamic initial values] difference

2009-05-09 Thread Django
#11059: Doc <-> Functionallity [FormsAPI Dynamic initial values] difference
-+--
  Reporter:  bencoder| Owner:  nobody 
Status:  new | Milestone: 
 Component:  Forms   |   Version:  1.0
Resolution:  |  Keywords:  dynamic initial
 Stage:  Unreviewed  | Has_patch:  0  
Needs_docs:  0   |   Needs_tests:  0  
Needs_better_patch:  0   |  
-+--
Changes (by bencoder):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 http://docs.djangoproject.com/en/1.0/ref/forms/api/#dynamic-initial-values

-- 
Ticket URL: 
Django 
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
-~--~~~~--~~--~--~---



[Django] #11059: Doc <-> Functionallity [FormsAPI Dynamic initial values] difference

2009-05-09 Thread Django
#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: 
Django 
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
-~--~~~~--~~--~--~---