2019-11-20 19:05:40 +00:00
|
|
|
# urls.py
|
|
|
|
#
|
2020-04-04 20:20:17 +00:00
|
|
|
# Part of kepi.
|
|
|
|
# Copyright (c) 2018-2020 Marnanel Thurman.
|
2019-11-20 19:05:40 +00:00
|
|
|
# Licensed under the GNU Public License v2.
|
|
|
|
|
|
|
|
"""
|
|
|
|
These are URL patterns, to include from your app's urls.py.
|
|
|
|
"""
|
|
|
|
|
|
|
|
from django.urls import path, re_path
|
2019-11-20 19:10:10 +00:00
|
|
|
import kepi.bowler_pub.views as bowler_pub_views
|
2019-11-20 19:05:40 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path('users', bowler_pub_views.AllUsersView.as_view()),
|
2020-06-14 21:12:43 +00:00
|
|
|
path('users/<str:username>/inbox', bowler_pub_views.InboxView.as_view()),
|
|
|
|
path('users/<str:username>/outbox', bowler_pub_views.OutboxView.as_view()),
|
2019-11-20 19:05:40 +00:00
|
|
|
path('users/<str:username>/followers', bowler_pub_views.FollowersView.as_view()),
|
|
|
|
path('users/<str:username>/following', bowler_pub_views.FollowingView.as_view()),
|
2020-10-11 14:36:58 +00:00
|
|
|
path('users/<str:username>/featured', bowler_pub_views.FeaturedView.as_view()),
|
2019-11-20 19:05:40 +00:00
|
|
|
path('sharedInbox', bowler_pub_views.InboxView.as_view()),
|
|
|
|
]
|