mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 01:27:03 +02:00
remove Hosts from django admin, update docstrings on Host and HostIP
This commit is contained in:
parent
fdccfc0968
commit
d0ca1ccff1
3 changed files with 7 additions and 5 deletions
|
@ -1246,7 +1246,9 @@ admin.site.register(models.DomainInvitation, DomainInvitationAdmin)
|
||||||
admin.site.register(models.DomainInformation, DomainInformationAdmin)
|
admin.site.register(models.DomainInformation, DomainInformationAdmin)
|
||||||
admin.site.register(models.Domain, DomainAdmin)
|
admin.site.register(models.Domain, DomainAdmin)
|
||||||
admin.site.register(models.DraftDomain, DraftDomainAdmin)
|
admin.site.register(models.DraftDomain, DraftDomainAdmin)
|
||||||
admin.site.register(models.Host, MyHostAdmin)
|
# Host and HostIP removed from django admin because changes in admin
|
||||||
|
# do not propogate to registry and logic not applied
|
||||||
|
# admin.site.register(models.Host, MyHostAdmin)
|
||||||
admin.site.register(models.Website, WebsiteAdmin)
|
admin.site.register(models.Website, WebsiteAdmin)
|
||||||
admin.site.register(models.PublicContact, AuditedAdmin)
|
admin.site.register(models.PublicContact, AuditedAdmin)
|
||||||
admin.site.register(models.DomainApplication, DomainApplicationAdmin)
|
admin.site.register(models.DomainApplication, DomainApplicationAdmin)
|
||||||
|
|
|
@ -11,8 +11,8 @@ class Host(TimeStampedModel):
|
||||||
|
|
||||||
The registry is the source of truth for this data.
|
The registry is the source of truth for this data.
|
||||||
|
|
||||||
This model exists ONLY to allow a new registrant to draft DNS entries
|
This model exists to make hosts/nameservers and ip addresses
|
||||||
before their application is approved.
|
available when registry is not available.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name = models.CharField(
|
name = models.CharField(
|
||||||
|
|
|
@ -10,8 +10,8 @@ class HostIP(TimeStampedModel):
|
||||||
|
|
||||||
The registry is the source of truth for this data.
|
The registry is the source of truth for this data.
|
||||||
|
|
||||||
This model exists ONLY to allow a new registrant to draft DNS entries
|
This model exists to make hosts/nameservers and ip addresses
|
||||||
before their application is approved.
|
available when registry is not available.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
address = models.CharField(
|
address = models.CharField(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue