Re: [Django] #11740: ModelForm documentation not clear on default attributes of custom Fields

2009-09-12 Thread Django
#11740: ModelForm documentation not clear on default attributes of custom Fields
+---
  Reporter:  severian   | Owner:  nobody
Status:  new| Milestone:
 Component:  Documentation  |   Version:  1.1   
Resolution: |  Keywords:
 Stage:  Ready for checkin  | Has_patch:  1 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by Alex):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Ready for checkin
  * needs_tests:  => 0
  * needs_docs:  => 0

-- 
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] #11740: ModelForm documentation not clear on default attributes of custom Fields

2009-08-18 Thread Django
#11740: ModelForm documentation not clear on default attributes of custom Fields
---+
 Reporter:  severian   |   Owner:  nobody
   Status:  new|   Milestone:
Component:  Documentation  | Version:  1.1   
 Keywords: |   Stage:  Unreviewed
Has_patch:  1  |  
---+
 The current documentation for ModelForm doesn't make clear that when you
 specify a custom field, default values for
 {{{required}}}, {{{initial}}}, etc. will not be drawn from the underlying
 model, as they are when you let the ModelForm create default fields. A
 patch is attached that explains this.

 As of this writing, the most straightforward example would involve a
 custom widget, but since a new paradigm for doing that is apparently about
 to be introduced ([http://code.djangoproject.com/ticket/9223]), I used an
 example with a custom field.

 A related discussion is here: [http://groups.google.com/group/django-
 developers/browse_thread/thread/904f0ec46525f922].

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