from django.urls import path, include
# from rest_framework_simplejwt import views as jwt_views
from . import views
# from files.api.views import ProfileList
from rest_framework.routers import DefaultRouter
# from rest_framework_simplejwt.views import (
#     TokenObtainPairView,
#     TokenRefreshView, 
#     TokenVerifyView
# )
router = DefaultRouter()
router.register('', views.UserViewSet)
# router.register('login', views.)


urlpatterns = [
    path('', include(router.urls)),
    # path('gettoken/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
    # path('refreshtoken/', TokenRefreshView.as_view(), name='token_refresh'),
    # path('verifytoken/', TokenVerifyView.as_view(), name='token_verify'),
    # path('user/', views.UserViewSet.as_view(), name='signup'),
    

    # path('', views.accountsOverview, name="account-overview"),
    # path('user-list/', views.userList, name="user-list"),
    # path('user-list/<int:pk>/', views.userDetail, name="user-detail"),
    # path('user-create/', views.userCreate, name="user-create"),
    # path('user-update/<int:pk>/', views.userUpdate, name="user-update"),
    # path('user-delete/<int:pk>/', views.userDelete, name="user-delete"),
    # path('userdetail/<int:pk>/', views.userDetail, name="user-Detail"),
    # path('userlist/', views.userDetail, name="user-Detail"),
    # path('user/', views.UserListMixins.as_view()),
    # path('userdetail/<int:pk>/', views.UserDetailMixins.as_view()),
]


# from django.urls import path, include
# from . import views

# urlpatterns = [
#     # FBV
#     path('user/', views.UserListAPIView.as_view()),
#     path('user/<int:pk>/',views.UserDetailAPIView.as_view()),
# ]
