Skip to content

Instantly share code, notes, and snippets.

ashok raavi ashok-raavi

  • India
Block or report user

Report or block ashok-raavi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ashok-raavi / gist:414009
Created May 26, 2010
creating django formset with form that takes parameters
View gist:414009
from django import forms
class FooForm(forms.Form):
def __init__(self, arg1, *args, **kwargs):
self.arg1 = arg1
super(FooForm, self).__init__(*args, **kwargs)
# form fields here
# define the custom formset here
You can’t perform that action at this time.