old_contents: from django.forms import ModelForm
  
  # import models from core for forms
  from core.models import Organization, RecordGroup, RecordIdentifierTransformationScenario,\
      Transformation, ValidationScenario, OAIEndpoint, FieldMapper
  
  class OrganizationForm(ModelForm):
      class Meta:
          model = Organization
          fields = ['name', 'description']
  
  
  class RecordGroupForm(ModelForm):
      class Meta:
          model = RecordGroup
          fields = ['organization', 'name', 'description']
  
  
  class ValidationScenarioForm(ModelForm):
  
      class Meta:
          model = ValidationScenario
          fields = ['name', 'payload', 'validation_type', 'filepath', 'default_run']
  
  
  class TransformationForm(ModelForm):
  
      class Meta:
          model = Transformation
          fields = ['name', 'payload', 'transformation_type', 'filepath', 'use_as_include']
  
  
  class RITSForm(ModelForm):
  
      class Meta:
          model = RecordIdentifierTransformationScenario
          fields = ['name', 'transformation_type', 'transformation_target', 'regex_match_payload',
                    'regex_replace_payload', 'python_payload', 'xpath_payload']
  
  
  class OAIEndpointForm(ModelForm):
  
      class Meta:
          model = OAIEndpoint
          fields = ['name', 'endpoint', 'verb', 'metadataPrefix', 'scope_type', 'scope_value']
  
  
  class FieldMapperForm(ModelForm):
  
      class Meta:
          model = FieldMapper
          fields = ['name', 'payload', 'config_json', 'field_mapper_type']
  
new_contents: from django.forms import ModelForm
  
  # import models from core for forms
  from core.models import Organization, RecordGroup, RecordIdentifierTransformationScenario,\
      Transformation, ValidationScenario, OAIEndpoint, FieldMapper
  
  
  class OrganizationForm(ModelForm):
      class Meta:
          model = Organization
          fields = ['name', 'description']
  
  
  class RecordGroupForm(ModelForm):
      class Meta:
          model = RecordGroup
          fields = ['organization', 'name', 'description']
  
  
  class ValidationScenarioForm(ModelForm):
  
      class Meta:
          model = ValidationScenario
          fields = ['name', 'payload', 'validation_type', 'default_run']
  
  
  class TransformationForm(ModelForm):
  
      class Meta:
          model = Transformation
          fields = ['name', 'payload', 'transformation_type', 'use_as_include']
  
  
  class RITSForm(ModelForm):
  
      class Meta:
          model = RecordIdentifierTransformationScenario
          fields = ['name', 'transformation_type', 'transformation_target', 'regex_match_payload',
                    'regex_replace_payload', 'python_payload', 'xpath_payload']
  
  
  class OAIEndpointForm(ModelForm):
  
      class Meta:
          model = OAIEndpoint
          fields = ['name', 'endpoint', 'metadataPrefix', 'scope_type', 'scope_value']
  
  
  class FieldMapperForm(ModelForm):
  
      class Meta:
          model = FieldMapper
          fields = ['name', 'payload', 'config_json', 'field_mapper_type']
  
subject: Remove some hidden fields from model forms