Initial /avilable API view and tests

This commit is contained in:
Neil Martinsen-Burrell 2022-10-27 13:15:22 -05:00
parent 5c105f1861
commit 01553a4d91
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184
6 changed files with 58 additions and 0 deletions

View file

@ -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: