from django.urls import path
from . import views
from rest_framework.authtoken.views import obtain_auth_token
urlpatterns = [path('api/create-user/', views.User.as_view(), name=
    'create_new_user'), path('api/api-auth/', obtain_auth_token, name=
    'api_token_auth'), path('api/events/', views.Events.as_view(), name=
    'events'), path('api/events/<str:event_id>/', views.EventDetail.as_view
    (), name='events_detail')]

8693d30de306746286f68eacfdfa4d1e4f257409
<mask token>

<mask token>
urlpatterns = [path('api/create-user/', views.User.as_view(), name=
    'create_new_user'), path('api/api-auth/', obtain_auth_token, name=
    'api_token_auth'), path('api/events/', views.Events.as_view(), name=
    'events'), path('api/events/<str:event_id>/', views.EventDetail.as_view
    (), name='events_detail')]

from django.urls import path
from . import views
from rest_framework.authtoken.views import obtain_auth_token
urlpatterns = [path('api/create-user/', views.User.as_view(), name=
    'create_new_user'), path('api/api-auth/', obtain_auth_token, name=
    'api_token_auth'), path('api/events/', views.Events.as_view(), name=
    'events'), path('api/events/<str:event_id>/', views.EventDetail.as_view
    (), name='events_detail')]
