diff options
Diffstat (limited to 'takahe')
-rw-r--r-- | takahe/urls.py | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/takahe/urls.py b/takahe/urls.py index 6f5ac79..dc3946f 100644 --- a/takahe/urls.py +++ b/takahe/urls.py @@ -3,7 +3,7 @@ from django.contrib import admin as djadmin from django.urls import path, re_path from django.views.static import serve -from activities.views import posts, search, timelines +from activities.views import explore, 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 @@ -16,6 +16,9 @@ urlpatterns = [ path("local/", timelines.Local.as_view(), name="local"), path("federated/", timelines.Federated.as_view(), name="federated"), path("search/", search.Search.as_view(), name="search"), + path("tags/<hashtag>/", 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( "settings/", settings.SettingsRoot.as_view(), @@ -94,6 +97,24 @@ urlpatterns = [ admin.Invites.as_view(), name="admin_invites", ), + path( + "admin/hashtags/", + admin.Hashtags.as_view(), + name="admin_hashtags", + ), + path( + "admin/hashtags/create/", + admin.HashtagCreate.as_view(), + name="admin_hashtags_create", + ), + path( + "admin/hashtags/<hashtag>/", + admin.HashtagEdit.as_view(), + ), + path( + "admin/hashtags/<hashtag>/delete/", + admin.HashtagDelete.as_view(), + ), # Identity views path("@<handle>/", identity.ViewIdentity.as_view()), path("@<handle>/inbox/", activitypub.Inbox.as_view()), |