def __init__(self, *args, **kwargs):
        # defaults to "text" and "identity"
        self.text_name = kwargs.pop('text_name', 'text')
        self.identity_name = kwargs.pop('identity_name', 'identity')
        super(GenericHttpForm, self).__init__(*args, **kwargs)
        self.fields[self.text_name] = forms.CharField()
        self.fields[self.identity_name] = forms.CharField()
Delete all links belonging to a model instance when that instance is deleted
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/backends/http/forms.py/GenericHttpForm.__init__--crossover with--dataset/ETHPy150Open DjangoAdminHackers/django-linkcheck/linkcheck/listeners.py/delete_instance_links