#3534: newforms ModelChoiceField should not cache choices
-----------------------+----------------------------------------------------
Reporter:  adrian      |       Owner:  adrian         
  Status:  new         |   Component:  django.newforms
 Version:  SVN         |    Keywords:                 
   Stage:  Unreviewed  |   Has_patch:  0              
-----------------------+----------------------------------------------------
 {{{ModelChoiceField}}} and {{{ModelMultipleChoiceField}}} cache the output
 of their {{{queryset}}} the first time {{{self.choices}}} is accessed.
 This is bad for long-running processes, such as mod_python, because the
 cache gets stale. Plus, it's bad saving all of those choices in memory.
 The attached unit tests illustrate the problem.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3534>
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