mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Set federal agency if none exist
This commit is contained in:
parent
6d0220e77a
commit
e30650abee
1 changed files with 4 additions and 0 deletions
|
@ -751,6 +751,10 @@ class DomainRequest(TimeStampedModel):
|
|||
domain request into an admin on that domain. It also triggers an email
|
||||
notification."""
|
||||
|
||||
if self.federal_agency is None:
|
||||
self.federal_agency = "Non-Federal Agency"
|
||||
self.save()
|
||||
|
||||
# create the domain
|
||||
Domain = apps.get_model("registrar.Domain")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue