from django.urls import path
from custom_user import views
from rest_framework.authtoken import views as drf_views

urlpatterns = [
    path('register/', views.register, name='register'),
    path('auth/', drf_views.obtain_auth_token),
    path('<string>/', views.ProfileDetail.as_view(), name=''),
    path('', views.ProfileAPIView.as_view(), name=''),

] 
from django.urls import path
from custom_user import views
from rest_framework.authtoken import views as drf_views

urlpatterns = [
    path('register/', views.register, name='register'),
    path('auth/', drf_views.obtain_auth_token),
    path('<string>/', views.ProfileDetail.as_view(), name=''),
    path('', views.ProfileAPIView.as_view(), name=''),

] 