<reponame>verhovensky/likeapprestapi
from django.urls import re_path
from authentication.views import RegistrationAPIView, LoginAPIView, UsersViewSet, ActivityViewSet

urlpatterns = [
    re_path(r'^registration/?$', RegistrationAPIView.as_view(), name='user_registration'),
    re_path(r'^login/?$', LoginAPIView.as_view(), name='user_login'),
    re_path(r'^users/?$', UsersViewSet.as_view(), name='users_list'),
    re_path(r'^activity/$', ActivityViewSet.as_view(), name='users_activity')
]
from django.urls import re_path
from authentication.views import RegistrationAPIView, LoginAPIView, UsersViewSet, ActivityViewSet

urlpatterns = [
    re_path(r'^registration/?$', RegistrationAPIView.as_view(), name='user_registration'),
    re_path(r'^login/?$', LoginAPIView.as_view(), name='user_login'),
    re_path(r'^users/?$', UsersViewSet.as_view(), name='users_list'),
    re_path(r'^activity/$', ActivityViewSet.as_view(), name='users_activity')
]