mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 01:11:55 +02:00
Update application.py
This commit is contained in:
parent
5c5fcfcf86
commit
f5fb4b24b8
1 changed files with 1 additions and 2 deletions
|
@ -211,8 +211,7 @@ class ApplicationWizard(ApplicationWizardPermissionView, TemplateView):
|
|||
def _find_smallest_missing_number(self, incomplete_drafts):
|
||||
draft_numbers = []
|
||||
for draft in incomplete_drafts:
|
||||
# Parse the number out of the text
|
||||
number = draft.draft_number
|
||||
number = draft.requested_domain.draft_number
|
||||
if number is not None:
|
||||
draft_numbers.append(number)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue