The new updates of partners and user
Made-with: Cursor
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
from . import api
|
||||
|
||||
app_name = 'events'
|
||||
|
||||
@@ -14,3 +15,8 @@ urlpatterns = [
|
||||
path('<int:pk>/images/<int:img_id>/delete/', views.delete_event_image, name='delete_event_image'),
|
||||
path('<int:pk>/images/<int:img_id>/primary/', views.set_primary_image, name='set_primary_image'),
|
||||
]
|
||||
|
||||
# Event API URLs
|
||||
urlpatterns += [
|
||||
path('api/create/', api.EventCreateAPI.as_view(), name='event_api_create'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user