Updates for the event images

This commit is contained in:
Vivek P Prakash
2025-12-01 04:52:49 +05:30
parent 392f86cfaf
commit d96ba46506
24 changed files with 905 additions and 257 deletions

21
mobile_web_api/urls.py Normal file
View File

@@ -0,0 +1,21 @@
from django.urls import path
from .views import *
# User URLS
urlpatterns = [
path('user/register/', RegisterView.as_view(), name='json_register'),
path('user/login/', LoginView.as_view(), name='json_login'),
path('user/status/', StatusView.as_view(), name='user_status'),
path('user/logout/', LogoutView.as_view(), name='user_logout'),
]
# Event URLS
urlpatterns += [
path('events/type-list/', EventTypeListAPIView.as_view()),
path('events/pincode-events/', EventListAPI.as_view()),
path('events/event-details/', EventDetailAPI.as_view()),
path('events/<int:event_id>/images/', EventImagesListAPI.as_view()),
]