add ticketing app and endpoints

This commit is contained in:
AmirHossein Shirazi
2024-12-14 14:28:47 +03:30
parent 0f76be9f11
commit 8ab4006ee3
12 changed files with 177 additions and 0 deletions
+1
View File
@@ -97,6 +97,7 @@ INSTALLED_APPS = [
'product',
'account',
'entertainment',
'ticket',
]
MIDDLEWARE = [
+1
View File
@@ -20,6 +20,7 @@ urlpatterns = [
# path('comment/<int:pk>', views.CommentView.as_view(), name='comment-list'),
path('products/', include('product.urls')),
path('accounts/', include('account.urls')),
path('tickets/', include('ticket.urls')),
path('', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'),
]