# contacts/urls.py
from django.urls import path
from . import views
from .views import LiveChatView # Import the LiveChatView class
app_name = 'contacts'
urlpatterns = [
path('', views.index, name='index'),
path('send-inquiry/', views.send_inquiry, name='send_inquiry'),
path('start-chat/', views.start_chat, name='start_chat'),
path('chat/<int:chat_id>/', views.chat_view, name='chat'),
path('live-chat/', LiveChatView.as_view(), name='live_chat'), # Updated to use LiveChatView
path('live-chat-view/', views.admin_chat_view, name='live_chat_view'),
]