connect / api /urls.py
thejagstudio's picture
Upload 167 files
00c2d61 verified
raw
history blame
994 Bytes
from django.urls import path
from . import views
from rest_framework_simplejwt.views import TokenRefreshView
urlpatterns = [
path('login/', views.login, name='login'),
path('logout/', views.logout, name='logout'),
path('get-user-profile/', views.get_user_profile, name='get_user_profile'),
path('profile-updater/', views.profile_updater, name='profile_updater'),
path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
path('dataEntry/', views.dataEntry, name='dataEntry'),
path('send-notification/', views.send_notification, name='send_notification'),
path('bhajan-category-list/', views.bhajanCategoryList, name='bhajanCategoryList'),
path('bhajan-detail/<int:id>', views.bhajanDetail, name='bhajanDetail'),
path('event-list/', views.eventList, name='eventList'),
path('notification/', views.notification, name='notification'),
path('bhakto-list/', views.bhaktoList, name='bhaktoList'),
]