diff options
Diffstat (limited to 'takahe')
-rw-r--r-- | takahe/settings/base.py | 1 | ||||
-rw-r--r-- | takahe/urls.py | 19 |
2 files changed, 13 insertions, 7 deletions
diff --git a/takahe/settings/base.py b/takahe/settings/base.py index 04a43dd..614bfd2 100644 --- a/takahe/settings/base.py +++ b/takahe/settings/base.py @@ -28,6 +28,7 @@ MIDDLEWARE = [ "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", "django_htmx.middleware.HtmxMiddleware", + "core.middleware.ConfigLoadingMiddleware", "users.middleware.IdentityMiddleware", ] diff --git a/takahe/urls.py b/takahe/urls.py index 044599a..8c01d64 100644 --- a/takahe/urls.py +++ b/takahe/urls.py @@ -48,37 +48,42 @@ urlpatterns = [ ), path( "admin/basic/", - admin.BasicPage.as_view(), + admin.BasicSettings.as_view(), name="admin_basic", ), path( "admin/domains/", - admin.DomainsPage.as_view(), + admin.Domains.as_view(), name="admin_domains", ), path( "admin/domains/create/", - admin.DomainCreatePage.as_view(), + admin.DomainCreate.as_view(), name="admin_domains_create", ), path( "admin/domains/<domain>/", - admin.DomainEditPage.as_view(), + admin.DomainEdit.as_view(), ), path( "admin/domains/<domain>/delete/", - admin.DomainDeletePage.as_view(), + admin.DomainDelete.as_view(), ), path( "admin/users/", - admin.UsersPage.as_view(), + admin.Users.as_view(), name="admin_users", ), path( "admin/identities/", - admin.IdentitiesPage.as_view(), + admin.Identities.as_view(), name="admin_identities", ), + path( + "admin/invites/", + admin.Invites.as_view(), + name="admin_invites", + ), # Identity views path("@<handle>/", identity.ViewIdentity.as_view()), path("@<handle>/actor/", activitypub.Actor.as_view()), |