def should_delete(self):
            return self.instance.pk % 2 != 0
delete form if odd PK
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/model_formsets_regress/tests.py/FormfieldShouldDeleteFormTests.CustomDeleteUserForm.should_delete