- Update food, outfits, props, home-decor pages and components - Add permissions page and sidebar updates - Update API client and all API modules (auth, food, dances, etc.) - Add card model migrations for optional fields - Update Django views, serializers, and authentication - Add affinity level migrations and user app updates - Add project documentation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
431 B
Python
13 lines
431 B
Python
from django.urls import path, include
|
|
from rest_framework.routers import DefaultRouter
|
|
from .views import ChatBotAPIView, MultiChatAPIView, BotViewSet
|
|
|
|
router = DefaultRouter()
|
|
router.register(r'bots', BotViewSet, basename='bot')
|
|
|
|
urlpatterns = [
|
|
path('', include(router.urls)),
|
|
path('chat/<int:bot_id>/', ChatBotAPIView.as_view(), name='chat-bot'),
|
|
path('multichat/', MultiChatAPIView.as_view(), name='multi-chat'),
|
|
]
|