mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 07:26:34 +02:00
cleanup
This commit is contained in:
parent
bc8789bc1b
commit
ee71ba4c48
4 changed files with 13 additions and 194 deletions
|
@ -600,8 +600,6 @@ class RequestingEntity(DomainRequestWizard):
|
|||
sub_organization = cleaned_data.get("sub_organization")
|
||||
requested_suborganization = cleaned_data.get("requested_suborganization")
|
||||
|
||||
# If no suborganization presently exists but the user filled out
|
||||
# org information then create a suborg automatically.
|
||||
if requesting_entity_is_suborganization and (sub_organization or requested_suborganization):
|
||||
# Cleanup the organization name field, as this isn't for suborganizations.
|
||||
self.domain_request.organization_name = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue