def add_form(self):
    prefix = self.make_prefix(self.management_form.new_form_id())
    member = self.form(prefix=prefix)
    self.forms.append(member)
Programatically add a form
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/django_forms.py/BaseSimpleFormSet.add_form