def _get_translation_field_names():
    from .models import Translation

    fields = Translation._meta.get_all_field_names()
    fields.remove('id')

    return fields
Override the delete permission for the Subject model. A Subject may never be deleted.
dataset/ETHPy150Open ulule/django-linguist/linguist/cache.py/_get_translation_field_names--crossover with--dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/admin.py/SubjectAdmin.has_delete_permission