chapeau/test_urls.py

17 wiersze
566 B
Python

from django.urls import path
from django_kepi.views import *
from things_for_testing.views import *
urlpatterns = [
path('obj/<id>', ActivityObjectView.as_view(),
{ 'f_type': 'Activity',
}),
path('thing-users', ThingUserCollection.as_view()),
path('users/<name>/followers', ThingUserFollowersView.as_view()),
path('users/<name>/following', ThingUserFollowingView.as_view()),
path('users/<name>/inbox', InboxView.as_view()),
path('sharedInbox', InboxView.as_view()),
path('asyncResult', AsyncResultView.as_view()),
]