# Path: yak/rest_user/views.py
# class SignUp(generics.CreateAPIView):
# class Login(generics.ListAPIView):
# class SignIn(views.APIView):
# class UserViewSet(viewsets.ModelViewSet):
# class PasswordChangeView(views.APIView):
# class PasswordResetView(views.APIView):
# class PasswordSetView(views.APIView):
#     def get_queryset(self):
#     def post(self, request, *args, **kwargs):
#     def me(self, request):
#     def patch(self, request, *args, **kwargs):
#     def post(self, request, *args, **kwargs):
#     def post(self, request, *args, **kwargs):


from django.conf.urls import url, include
from yak.rest_user import views
from rest_framework import routers


router = routers.DefaultRouter()
router.register(r'users', views.UserViewSet, base_name='users')


urlpatterns = [
    url(r'^', include(router.urls)),

# Path: yak/rest_user/views.py
# class SignUp(generics.CreateAPIView):
# class Login(generics.ListAPIView):
# class SignIn(views.APIView):
# class UserViewSet(viewsets.ModelViewSet):
# class PasswordChangeView(views.APIView):
# class PasswordResetView(views.APIView):
# class PasswordSetView(views.APIView):
#     def get_queryset(self):
#     def post(self, request, *args, **kwargs):
#     def me(self, request):
#     def patch(self, request, *args, **kwargs):
#     def post(self, request, *args, **kwargs):
#     def post(self, request, *args, **kwargs):


# Path: yak/rest_user/urls.py
from django.conf.urls import url, include
from yak.rest_user import views
from rest_framework import routers



router = routers.DefaultRouter()
router.register(r'users', views.UserViewSet, base_name='users')


urlpatterns = [
    url(r'^', include(router.urls)),

    url(r'^sign_up/$', views.SignUp.as_view(), name="sign_up"),