updated documentation and code comments

This commit is contained in:
David Kennedy 2024-05-10 07:36:23 -04:00
parent 5673889a55
commit 645c85e147
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
3 changed files with 18 additions and 3 deletions

View file

@ -80,6 +80,7 @@ class FsmModelResource(resources.ModelResource):
class UserResource(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.User
@ -758,6 +759,7 @@ class HostIPInline(admin.StackedInline):
class HostResource(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.Host
@ -774,6 +776,7 @@ class MyHostAdmin(AuditedAdmin, ImportExportModelAdmin):
class HostIpResource(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.HostIP
@ -787,6 +790,7 @@ class HostIpAdmin(AuditedAdmin, ImportExportModelAdmin):
class ContactResource(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.Contact
@ -918,6 +922,7 @@ class ContactAdmin(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"""
class Meta:
model = models.Website
@ -976,6 +981,7 @@ class WebsiteAdmin(ListHeaderAdmin, ImportExportModelAdmin):
class UserDomainRoleResource(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.UserDomainRole
@ -1067,6 +1073,7 @@ class DomainInvitationAdmin(ListHeaderAdmin):
class DomainInformationResource(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.DomainInformation
@ -1208,6 +1215,7 @@ class DomainInformationAdmin(ListHeaderAdmin, ImportExportModelAdmin):
class DomainRequestResource(FsmModelResource):
"""defines how each field in the referenced model should be mapped to the corresponding fields in the import/export file"""
class Meta:
model = models.DomainRequest
@ -1761,6 +1769,7 @@ class DomainInformationInline(admin.StackedInline):
class DomainResource(FsmModelResource):
"""defines how each field in the referenced model should be mapped to the corresponding fields in the import/export file"""
class Meta:
model = models.Domain
@ -2166,6 +2175,7 @@ class DomainAdmin(ListHeaderAdmin, ImportExportModelAdmin):
class DraftDomainResource(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.DraftDomain