mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-06 11:13:21 +02:00
Save button for domain application
This commit is contained in:
parent
19c360f3bf
commit
07eb374d25
21 changed files with 979 additions and 312 deletions
|
@ -1,7 +1,6 @@
|
|||
from django.db import models
|
||||
|
||||
from .utility.time_stamped_model import TimeStampedModel
|
||||
from .domain import Domain
|
||||
|
||||
|
||||
class Host(TimeStampedModel):
|
||||
|
@ -26,7 +25,7 @@ class Host(TimeStampedModel):
|
|||
)
|
||||
|
||||
domain = models.ForeignKey(
|
||||
Domain,
|
||||
"registrar.Domain",
|
||||
on_delete=models.PROTECT,
|
||||
related_name="host", # access this Host via the Domain as `domain.host`
|
||||
help_text="Domain to which this host belongs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue