Merge branch 'main' into nmb/available-domain

This commit is contained in:
Neil Martinsen-Burrell 2022-10-31 11:06:13 -05:00
commit 5d9a469ebd
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184
18 changed files with 383 additions and 24 deletions

View file

@ -10,8 +10,14 @@ from django.urls import include, path
from django.views.generic import RedirectView
from registrar.views import health, index, profile, whoami
from registrar.forms import ApplicationWizard
from api.views import available
APPLICATION_URL_NAME = "application_step"
application_wizard = ApplicationWizard.as_view(
url_name=APPLICATION_URL_NAME, done_step_name="finished"
)
urlpatterns = [
path("", index.index, name="home"),
path("whoami/", whoami.whoami, name="whoami"),
@ -19,6 +25,8 @@ urlpatterns = [
path("health/", health.health),
path("edit_profile/", profile.edit_profile, name="edit-profile"),
path("openid/", include("djangooidc.urls")),
path("register/", application_wizard, name="application"),
path("register/<step>/", application_wizard, name=APPLICATION_URL_NAME),
path("available/<domain>", available, name="available"),
]