from django.urls import path, re_path import django_kepi.views urlpatterns = [ re_path('^(?P[0-9a-z]{8})$', django_kepi.views.ThingView.as_view()), path('users', django_kepi.views.AllUsersView.as_view()), path('users/', django_kepi.views.ThingView.as_view()), path('users//inbox', django_kepi.views.InboxView.as_view(), { 'listname': 'inbox', } ), path('users//outbox', django_kepi.views.OutboxView.as_view(), { 'listname': 'outbox', } ), path('users//followers', django_kepi.views.FollowersView.as_view()), path('users//following', django_kepi.views.FollowingView.as_view()), path('sharedInbox', django_kepi.views.InboxView.as_view()), ]