from django.urls import path from . import views, htmx_views app_name = 'history_tracking' urlpatterns = [ # Main page views path('compare/', views.version_comparison, name='version_comparison' ), path('approval-status//', views.approval_status, name='approval_status' ), path('submit-approval//', views.submit_for_approval, name='submit_for_approval' ), # HTMX endpoints path('htmx/comments/get/', htmx_views.get_comments, name='get_comments' ), path('htmx/comments/preview/', htmx_views.preview_comment, name='preview_comment' ), path('htmx/comments/add/', htmx_views.add_comment, name='add_comment' ), path('htmx/approve//', htmx_views.approve_changes, name='approve_changes' ), path('htmx/notifications//', htmx_views.approval_notifications, name='approval_notifications' ), path('htmx/comments/replies//', htmx_views.get_replies, name='get_replies' ), path('htmx/comments/reply-form/', htmx_views.reply_form, name='reply_form' ), ]