I was trying to find a way to get ModelChoiceFields to use an already cached Model, and I came across in django/forms/models.py , under class ModelChoiceField, a variable called:
self.choice_cache=None class ModelChoiceIterator seems to be the only thing that plays with it, but with or without choice_cache having any value, it just returns the same thing really. I'm rather curious, what does it do? It looks like what I'm looking for but not. It looks pretty pointless to me. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---