#13181: ChoiceField.choices need to accept callable, not only list or tuple
----------------------------------+-----------------------------------------
 Reporter:  mariarchi             |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  Forms                 |     Version:  1.2-beta  
 Keywords:  ChoiceField, choices  |       Stage:  Unreviewed
Has_patch:  1                     |  
----------------------------------+-----------------------------------------
 see http://groups.google.com/group/django-
 developers/browse_thread/thread/3d98f84430bda806

 The subject pretty much describes all of it. If 'initial' can be a
 callable, why 'choices' can't? Writing custom function is way more
 convenient then altering __init__ method of the model.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13181>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to