This commit is contained in:
Tim Lorsbach
2026-04-15 12:23:29 +02:00
parent dd0f7eaf05
commit 349877b5e3
6 changed files with 90 additions and 15 deletions

View File

@ -40,6 +40,11 @@ if "migration" in s.INSTALLED_APPS:
if s.MS_ENTRA_ENABLED:
urlpatterns.append(path(f"{PATH_PREFIX}", include("epauth.urls")))
if s.TENANT != "public":
urlpatterns.append(
path(f"{PATH_PREFIX}", include(f"{s.TENANT}.urls"))
)
# Custom error handlers
handler400 = "epdb.views.handler400"
handler403 = "epdb.views.handler403"