HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/unlimited-leads/Unlimited-Leads-Be/Admin/urls.py
from django.urls import path
from Admin.views import (UserListView, UserDetailView, BlockUnblockUserView,  
                         UploadLeadCSVView, UploadTemplateCSVView, TaskStatusView,
                         DownloadTemplateCSVFileView, LeadListView, DeleteLeadView,AdminDashboardSummary,ValidationCountGraph,RevenueGraph,UserCountGraph,SearchcountGraph,
                         TriggerUploadLeadCSVView, LocationsView,
                         )
urlpatterns = [
    path('users/', UserListView.as_view(), name='list_users'),
    path('users/<uuid:user_id>/', UserDetailView.as_view(), name='user_details'),
    path('users/<uuid:user_id>/<str:action>/', BlockUnblockUserView.as_view(), name='block_unblock_user'),


    path('lead/download_template/', DownloadTemplateCSVFileView.as_view(), name='download-template'),
    path('lead/create/', UploadLeadCSVView.as_view(), name='create-lead-data'),
    path('lead/trigger-upload-lead/', TriggerUploadLeadCSVView.as_view(), name='trigger-upload-lead'),
    path('lead/upload_template/', UploadTemplateCSVView.as_view(), name='upload-template'),
    path('lead/celery_task_status/<uuid:file_id>/', TaskStatusView.as_view(), name='celery-task-status'),
    path('lead/view/', LeadListView.as_view(), name='lead-list-view'),
    path('lead/delete/<uuid:lead_id>/', DeleteLeadView.as_view(), name='delete-lead-record'),
    path('dashboardsummary/', AdminDashboardSummary.as_view(), name='dashboardsummary'),
    path('validation-count-graph/', ValidationCountGraph.as_view(), name='validation-count-graph'),
    path('revenue-graph/', RevenueGraph.as_view(), name='revenue-graph'),
    path('user-count-graph/', UserCountGraph.as_view(), name='user-count-graph'),
     path('search-count-graph/', SearchcountGraph.as_view(), name='search-count-graph'),
     path('locations/', LocationsView.as_view(), name='locations'),

]