From 6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2 Mon Sep 17 00:00:00 2001 From: Tyler Kennedy Date: Sun, 4 Dec 2022 11:41:41 -0500 Subject: Make follows a top-level activity. (#94) --- takahe/urls.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'takahe') 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), @@ -19,6 +19,12 @@ urlpatterns = [ path("tags//", timelines.Tag.as_view(), name="tag"), 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(), @@ -34,11 +40,6 @@ urlpatterns = [ settings.ProfilePage.as_view(), name="settings_profile", ), - path( - "settings/follows/", - follows.FollowsPage.as_view(), - name="settings_follows", - ), path( "settings/interface/", settings.InterfacePage.as_view(), -- cgit v1.2.3