If you put the call to your _users() function in the form __init__() I
think it will be what you are looking for.  initi s called
automatically whenever an instance is created.

class MemoForm(forms.Form):
-snip-
    def __init__(self,*args,**kwarg)
        super(MemoForm,self).__init__(*args,**kwargs)
        self.fields['recipients'].choices = _users()



--~--~---------~--~----~------------~-------~--~----~
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