mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 05:54:11 +02:00
lint'd
This commit is contained in:
parent
dad4283504
commit
0dc78bc2eb
2 changed files with 5 additions and 4 deletions
|
@ -55,7 +55,7 @@ urlpatterns = [
|
||||||
path(
|
path(
|
||||||
"application/<int:pk>",
|
"application/<int:pk>",
|
||||||
views.ApplicationStatus.as_view(),
|
views.ApplicationStatus.as_view(),
|
||||||
name="application-status"
|
name="application-status",
|
||||||
),
|
),
|
||||||
path("health/", views.health),
|
path("health/", views.health),
|
||||||
path("openid/", include("djangooidc.urls")),
|
path("openid/", include("djangooidc.urls")),
|
||||||
|
|
|
@ -463,6 +463,7 @@ class Review(ApplicationWizard):
|
||||||
# # TODO: errors to let users know why this isn't working
|
# # TODO: errors to let users know why this isn't working
|
||||||
# return self.goto(self.steps.current)
|
# return self.goto(self.steps.current)
|
||||||
|
|
||||||
|
|
||||||
class Finished(ApplicationWizard):
|
class Finished(ApplicationWizard):
|
||||||
template_name = "application_done.html"
|
template_name = "application_done.html"
|
||||||
forms = [] # type: ignore
|
forms = [] # type: ignore
|
||||||
|
@ -474,12 +475,12 @@ class Finished(ApplicationWizard):
|
||||||
del self.storage
|
del self.storage
|
||||||
return render(self.request, self.template_name, context)
|
return render(self.request, self.template_name, context)
|
||||||
|
|
||||||
|
|
||||||
class ApplicationStatus(generic.DetailView):
|
class ApplicationStatus(generic.DetailView):
|
||||||
model = DomainApplication
|
model = DomainApplication
|
||||||
template_name="application_status.html"
|
template_name = "application_status.html"
|
||||||
forms = []
|
forms = []
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
context = super(ApplicationStatus, self).get_context_data(**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
|
Loading…
Add table
Add a link
Reference in a new issue