mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-30 01:10:04 +02:00
Review feedback: better debug logging
This commit is contained in:
parent
0e4636bebf
commit
d5240cb86d
1 changed files with 1 additions and 2 deletions
|
@ -141,9 +141,8 @@ class ApplicationWizard(LoginRequiredMixin, NamedUrlSessionWizardView):
|
|||
return application
|
||||
|
||||
def done(self, form_list, form_dict, **kwargs):
|
||||
logger.info("Application form submitted.")
|
||||
application = self.forms_to_object(form_dict)
|
||||
application.submit() # change the status to submitted
|
||||
application.save()
|
||||
logger.info("Application object saved.")
|
||||
logger.debug("Application object saved:", application.id)
|
||||
return redirect("home")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue