chapeau/test_urls.py

17 wiersze
554 B
Python
Czysty Zwykły widok Historia

2018-08-11 16:21:56 +00:00
from django.urls import path
from django_kepi.views import *
2018-08-27 17:53:52 +00:00
from things_for_testing.views import *
2018-08-11 16:21:56 +00:00
urlpatterns = [
path('obj/<id>', ThingObjectView.as_view(),
{ 'f_type': 'Object',
}),
path('users', ThingUserCollection.as_view()),
path('users/<name>', ThingUserView.as_view()),
2018-09-01 17:19:48 +00:00
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()),
2018-08-11 16:21:56 +00:00
]