File size: 1,499 Bytes
aff4b27
 
00c2d61
aff4b27
 
d5374bf
 
 
 
 
 
 
 
 
 
6b9394e
 
 
d5374bf
 
 
 
 
 
 
 
 
 
aff4b27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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-list/<str:catLink>", views.bhajanList, name="bhajanList"),
    path("bhajan-category-list/", views.bhajanCategoryList, name="bhajanCategoryList"),
    path(
        "bhajan-detail/<int:bhajanId>",
        views.bhajanDetail,
        name="bhajanDetail",
    ),
    path("event-list/", views.eventList, name="eventList"),
    path("bhakto-list/", views.bhaktoList, name="bhaktoList"),
    path("notification/", views.notification, name="notification"),
    path("push-subscription/", views.save_push_subscription, name="push_subscription"),
    path("send-otp/", views.send_otp, name="send_otp"),
    path("verify-otp/", views.verify_otp, name="verify_otp"),
    path("change-password/", views.change_password, name="change_password"),
    path("polls/", views.polls, name="polls"),
    path("poll-voters/<int:id>", views.voterList, name="voterList"),
]