chapeau/django_kepi/urls.py

15 wiersze
712 B
Python
Czysty Zwykły widok Historia

from django.urls import path, re_path
import django_kepi.views
urlpatterns = [
re_path('^(?P<id>[0-9a-z]{8})$', django_kepi.views.ThingView.as_view()),
path('users', django_kepi.views.AllUsersView.as_view()),
path('users/<str:name>', django_kepi.views.ThingView.as_view()),
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()),
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()),
]