This commit is contained in:
Jon Roberts 2023-04-10 14:54:28 -06:00
parent dad4283504
commit 0dc78bc2eb
No known key found for this signature in database
GPG key ID: EED093582198B041
2 changed files with 5 additions and 4 deletions

View file

@ -55,7 +55,7 @@ urlpatterns = [
path(
"application/<int:pk>",
views.ApplicationStatus.as_view(),
name="application-status"
name="application-status",
),
path("health/", views.health),
path("openid/", include("djangooidc.urls")),

View file

@ -463,6 +463,7 @@ class Review(ApplicationWizard):
# # TODO: errors to let users know why this isn't working
# return self.goto(self.steps.current)
class Finished(ApplicationWizard):
template_name = "application_done.html"
forms = [] # type: ignore
@ -474,12 +475,12 @@ class Finished(ApplicationWizard):
del self.storage
return render(self.request, self.template_name, context)
class ApplicationStatus(generic.DetailView):
model = DomainApplication
template_name="application_status.html"
template_name = "application_status.html"
forms = []
def get_context_data(self, **kwargs):
context = super(ApplicationStatus, self).get_context_data(**kwargs)
#pdb.set_trace() (Jon note: if you want to do that, make sure to add import)
return context
return context