mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 17:28:31 +02:00
Initial /avilable API view and tests
This commit is contained in:
parent
5c105f1861
commit
01553a4d91
6 changed files with 58 additions and 0 deletions
|
@ -10,6 +10,7 @@ from django.urls import include, path
|
|||
from django.views.generic import RedirectView
|
||||
|
||||
from registrar.views import health, index, profile, whoami
|
||||
from api.views import available
|
||||
|
||||
urlpatterns = [
|
||||
path("", index.index, name="home"),
|
||||
|
@ -18,6 +19,7 @@ urlpatterns = [
|
|||
path("health/", health.health),
|
||||
path("edit_profile/", profile.edit_profile, name="edit-profile"),
|
||||
path("openid/", include("djangooidc.urls")),
|
||||
path("available/<domain>", available, name="available"),
|
||||
]
|
||||
|
||||
if not settings.DEBUG:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue