I guess the question is when you know the additional keyword argument. If you already know what that extra keyword is when you are constructing the form list, you could use a partial[1] to put in the arguments you know already. Partials are python 2.5+ only, you can use a lambda instead if you are stuck on 2.4. That doesn't help if you need the kwarg to come at run time though.
[1] http://docs.python.org/library/functools.html#functools.partial On Aug 31, 4:41 am, Berco Beute <cybe...@gmail.com> wrote: > One of the forms I'm using in a FormWizard takes an aditional keyword > argument in its __init__, e.g.: > > ============= > def __init__(self, arg1=None, *args, **kwargs): > pass > ============= > > I'm at a loss how to make FormWizard construct my form while passing > in the extra keyword argument (arg1). Any ideas? > > Thanks, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---