2019-05-22 01:10:07 +00:00
|
|
|
from django.urls import path, re_path
|
2019-06-27 16:19:02 +00:00
|
|
|
import django_kepi.views
|
2019-05-18 17:41:10 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2019-06-27 16:19:02 +00:00
|
|
|
re_path('^(?P<id>[0-9a-z]{8})$', django_kepi.views.ThingView.as_view()),
|
|
|
|
path('users', django_kepi.views.AllUsersView.as_view()),
|
2019-07-11 16:40:12 +00:00
|
|
|
path('users/<str:name>', django_kepi.views.ThingView.as_view()),
|
2019-06-27 16:19:02 +00:00
|
|
|
path('users/<str:name>/inbox', django_kepi.views.InboxView.as_view()),
|
2019-07-18 11:16:44 +00:00
|
|
|
path('users/<str:name>/outbox', django_kepi.views.OutboxView.as_view()),
|
2019-06-27 16:19:02 +00:00
|
|
|
path('users/<str:name>/followers', django_kepi.views.FollowersView.as_view()),
|
|
|
|
path('users/<str:name>/following', django_kepi.views.FollowingView.as_view()),
|
|
|
|
path('sharedInbox', django_kepi.views.InboxView.as_view()),
|
2019-05-18 17:41:10 +00:00
|
|
|
]
|
|
|
|
|