def entity_key(entity):
    key = entity.key or entity.string
    return ':'.join([entity.resource.path, key])
Verify base formset honors DELETE field
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/core.py/entity_key--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/model_formsets_regress/tests.py/FormfieldShouldDeleteFormTests.test_all_delete