mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 17:01:56 +02:00
Update application.py
This commit is contained in:
parent
6f09c4b653
commit
5c5fcfcf86
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ class ApplicationWizard(ApplicationWizardPermissionView, TemplateView):
|
|||
if name in incomplete_draft_names:
|
||||
# Get the last numbered draft
|
||||
last_draft = incomplete_drafts.last()
|
||||
last_draft_number = last_draft.draft_number
|
||||
last_draft_number = last_draft.requested_domain.draft_number
|
||||
|
||||
smallest_number = self._find_smallest_missing_number(incomplete_drafts)
|
||||
smallest_name = f"New domain request {smallest_number}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue