johnny, Place p_id as a field in the template (it can be a hidden) so you don't need to pass it as a parameter to SalesForm.
If you still need to override the __init__ method in SalesForm, do it in the following manner: class SalesForm(forms.Form): def __init__(self, *args, **kwargs): super(SalesForm, self).__init__(*args, **kwargs) # do your stuff here ... -- Jeff Bauer Rubicon, Inc. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---