added migrations

This commit is contained in:
CocoByte 2024-06-20 15:45:04 -06:00
parent 1120e3f758
commit 1cb6dda7fb
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
4 changed files with 80 additions and 3 deletions

View file

@ -1016,6 +1016,7 @@ class ContactAdmin(ListHeaderAdmin, ImportExportModelAdmin):
# Get the filtered values
return super().changelist_view(request, extra_context=extra_context)
class SeniorOfficialAdmin(ListHeaderAdmin, ImportExportModelAdmin):
"""Custom Senior Official Admin class."""
@ -1038,8 +1039,6 @@ class SeniorOfficialAdmin(ListHeaderAdmin, ImportExportModelAdmin):
]
class WebsiteResource(resources.ModelResource):
"""defines how each field in the referenced model should be mapped to the corresponding fields in the
import/export file"""
@ -1048,7 +1047,6 @@ class WebsiteResource(resources.ModelResource):
model = models.Website
class WebsiteAdmin(ListHeaderAdmin, ImportExportModelAdmin):
"""Custom website admin class."""