summaryrefslogtreecommitdiffstats
path: root/takahe
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-16 17:23:46 -0700
committerAndrew Godwin2022-11-16 17:23:46 -0700
commit44af0d4c59eed1c3715e9044e75c159cfddf54cc (patch)
treed2c87f953de12a526a158f2c03def5eb08b2d203 /takahe
parent495e955378d62dc439c4c210785e5d401bc77f64 (diff)
downloadtakahe-44af0d4c59eed1c3715e9044e75c159cfddf54cc.tar.gz
takahe-44af0d4c59eed1c3715e9044e75c159cfddf54cc.tar.bz2
takahe-44af0d4c59eed1c3715e9044e75c159cfddf54cc.zip
Add start of a settings (config) system
Diffstat (limited to 'takahe')
-rw-r--r--takahe/urls.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/takahe/urls.py b/takahe/urls.py
index 723516a..bdb5946 100644
--- a/takahe/urls.py
+++ b/takahe/urls.py
@@ -4,7 +4,7 @@ from django.urls import path
from activities.views import posts, timelines
from core import views as core
from stator import views as stator
-from users.views import activitypub, auth, identity
+from users.views import activitypub, auth, identity, settings_identity, settings_system
urlpatterns = [
path("", core.homepage),
@@ -13,6 +13,10 @@ urlpatterns = [
path("notifications/", timelines.Notifications.as_view()),
path("local/", timelines.Local.as_view()),
path("federated/", timelines.Federated.as_view()),
+ path("settings/", settings_identity.IdentitySettingsRoot.as_view()),
+ path("settings/interface/", settings_identity.InterfacePage.as_view()),
+ path("settings/system/", settings_system.SystemSettingsRoot.as_view()),
+ path("settings/system/basic/", settings_system.BasicPage.as_view()),
# Identity views
path("@<handle>/", identity.ViewIdentity.as_view()),
path("@<handle>/actor/", activitypub.Actor.as_view()),