mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-30 17:23:55 +02:00
Fix lint errors
This commit is contained in:
parent
2b91a3c1d1
commit
eda5e9751b
9 changed files with 27 additions and 23 deletions
|
@ -4,6 +4,7 @@ from django.core.validators import validate_ipv46_address
|
|||
from .utility.time_stamped_model import TimeStampedModel
|
||||
from .host import Host
|
||||
|
||||
|
||||
class HostIP(TimeStampedModel):
|
||||
"""
|
||||
Hosts may have one or more IP addresses.
|
||||
|
@ -13,6 +14,7 @@ class HostIP(TimeStampedModel):
|
|||
This model exists ONLY to allow a new registrant to draft DNS entries
|
||||
before their application is approved.
|
||||
"""
|
||||
|
||||
address = models.CharField(
|
||||
max_length=46,
|
||||
null=False,
|
||||
|
@ -27,4 +29,3 @@ class HostIP(TimeStampedModel):
|
|||
on_delete=models.PROTECT,
|
||||
help_text="Host to which this IP address belongs",
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue