From 69b81ba6d6803583024b282b872891f16ca3edde Mon Sep 17 00:00:00 2001 From: Erin <121973038+erinysong@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:28:28 -0700 Subject: [PATCH] Remove import/export resource for domain group and suborg admin classes --- src/registrar/admin.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/registrar/admin.py b/src/registrar/admin.py index b1dcb1f6e..686545f77 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -2656,29 +2656,11 @@ class WaffleFlagAdmin(FlagAdmin): fields = "__all__" -class DomainGroupResource(resources.ModelResource): - """defines how each field in the referenced model should be mapped to the corresponding fields in the - import/export file""" - - class Meta: - model = models.DomainGroup - - class DomainGroupAdmin(ListHeaderAdmin, ImportExportModelAdmin): - resource_classes = [DomainGroupResource] list_display = ["name", "portfolio"] -class SuborganizationResource(resources.ModelResource): - """defines how each field in the referenced model should be mapped to the corresponding fields in the - import/export file""" - - class Meta: - model = models.Suborganization - - class SuborganizationAdmin(ListHeaderAdmin, ImportExportModelAdmin): - resource_classes = [SuborganizationResource] list_display = ["name", "portfolio"]