On 8/7/07, Chris Brand <[EMAIL PROTECTED]> wrote:

>              self.fields[f].queryset = queryset
>              # Have to force the widget to update itself (bug 4787)
>              self.fields[f].widget.choices = self.fields[f].choices

Hi Chris,

thanks for your help - it solved my problem, but another one has arised:

What should I pass as a dummy queryset parameter: this is positional
mandatory argument and I cannot pass None. Is it correct if I pass

     queryset = _QuerySet()

Thanks, Peter

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to