Add Django

This commit is contained in:
Seamus Johnston 2022-08-17 13:31:06 -05:00
parent a96c1b0d80
commit c0a9596731
No known key found for this signature in database
GPG key ID: 2F21225985069105
9 changed files with 267 additions and 1 deletions

View file

@ -0,0 +1,23 @@
"""URL Configuration
For more information see:
https://docs.djangoproject.com/en/4.0/topics/http/urls/
"""
from django.conf import settings
from django.contrib import admin
from django.urls import include, path
from registrar.views import health
urlpatterns = [
path("admin/", admin.site.urls),
path("health/", health.health)
]
if settings.DEBUG:
import debug_toolbar
urlpatterns = [
path("__debug__/", include(debug_toolbar.urls)),
] + urlpatterns