#3436: Don't fetch Field's choices on form/manipulator creation
----------------------------------------------------------+-----------------
   Reporter:  Ivan Sagalaev <[EMAIL PROTECTED]>  |                Owner:  
adrian        
     Status:  new                                         |            
Component:  Core framework
    Version:  SVN                                         |           
Resolution:                
   Keywords:  performance                                 |                
Stage:  Accepted      
  Has_patch:  1                                           |           
Needs_docs:  0             
Needs_tests:  0                                           |   
Needs_better_patch:  1             
----------------------------------------------------------+-----------------
Comment (by Ivan Sagalaev <[EMAIL PROTECTED]>):

 Ok, I've tested it a bit. The problem really doesn't affect newforms since
 Field.formfield calls get_choices only if a field has explicit 'choices'
 attribute set. ForeignKeys don't have choices and are fetched by
 formfield's widget only at display time. Oldforms still have a problem
 though.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3436#comment:10>
Django Code <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