File size: 994 Bytes
aff4b27
 
00c2d61
aff4b27
 
00c2d61
 
 
 
 
 
aff4b27
 
 
 
 
 
00c2d61
4618a46
00c2d61
aff4b27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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'),
]