summaryrefslogtreecommitdiffstats
path: root/takahe
diff options
context:
space:
mode:
authorTyler Kennedy2022-12-04 11:41:41 -0500
committerGitHub2022-12-04 09:41:41 -0700
commit6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2 (patch)
treed589df378639dc8605a9f58b431ed37e0bc67b49 /takahe
parent45b91e1a0ec3eea6305b7164057ed82845b5a8bb (diff)
downloadtakahe-6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2.tar.gz
takahe-6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2.tar.bz2
takahe-6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2.zip
Make follows a top-level activity. (#94)
Diffstat (limited to 'takahe')
-rw-r--r--takahe/urls.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/takahe/urls.py b/takahe/urls.py
index 9aa67a2..0e995c4 100644
--- a/takahe/urls.py
+++ b/takahe/urls.py
@@ -3,10 +3,10 @@ from django.contrib import admin as djadmin
from django.urls import path, re_path
from django.views.static import serve
-from activities.views import compose, explore, posts, search, timelines
+from activities.views import compose, explore, follows, posts, search, timelines
from core import views as core
from stator import views as stator
-from users.views import activitypub, admin, auth, follows, identity, settings
+from users.views import activitypub, admin, auth, identity, settings
urlpatterns = [
path("", core.homepage),
@@ -20,6 +20,12 @@ urlpatterns = [
path("explore/", explore.Explore.as_view(), name="explore"),
path("explore/tags/", explore.ExploreTag.as_view(), name="explore-tag"),
path(
+ "follows/",
+ follows.FollowsPage.as_view(),
+ name="follows",
+ ),
+ # Settings views
+ path(
"settings/",
settings.SettingsRoot.as_view(),
name="settings",
@@ -35,11 +41,6 @@ urlpatterns = [
name="settings_profile",
),
path(
- "settings/follows/",
- follows.FollowsPage.as_view(),
- name="settings_follows",
- ),
- path(
"settings/interface/",
settings.InterfacePage.as_view(),
name="settings_interface",