File size: 2,432 Bytes
2a065c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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"),
    path("create-poll/", views.create_poll, name="create_poll"),
    path("edit-poll/<int:poll_id>/", views.edit_poll, name="edit_poll"),
    path("delete-poll/<int:poll_id>/", views.delete_poll, name="delete_poll"),
    path("bookList/", views.bookList, name="bookList"),
    path("book/<str:urlId>", views.bookDetail, name="bookDetail"),
    path(
        "book/<str:urlId>/<str:chapterId>",
        views.bookChapterDetail,
        name="bookChapterDetail",
    ),
    path("data", views.data, name="data"),
    path("gallery/", views.gallery_list, name="gallery_list"),
    path("gallery/all/", views.gallery_all_list, name="gallery_all_list"),
    path("gallery/upload/", views.upload_gallery_image, name="upload_gallery_image"),
    path("gallery/delete/<int:image_id>/", views.delete_gallery_image, name="delete_gallery_image"),
    path("wallpaper/", views.wallpaper_list, name="wallpaper_list"),
]