davidtran999 commited on
Commit
7014eee
·
verified ·
1 Parent(s): 03b9922

Upload backend/core/urls.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. backend/core/urls.py +25 -0
backend/core/urls.py ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from django.urls import path
2
+ from . import views
3
+
4
+ urlpatterns = [
5
+ path("search/", views.search),
6
+ path("chat/", views.chat),
7
+ path("procedures/", views.procedures_list),
8
+ path("procedures/<int:pk>/", views.procedures_detail),
9
+ path("fines/", views.fines_list),
10
+ path("fines/<int:pk>/", views.fines_detail),
11
+ path("offices/", views.offices_list),
12
+ path("offices/<int:pk>/", views.offices_detail),
13
+ path("advisories/", views.advisories_list),
14
+ path("advisories/<int:pk>/", views.advisories_detail),
15
+ path("legal-sections/", views.legal_sections_list),
16
+ path("legal-sections/<int:pk>/", views.legal_sections_detail),
17
+ path(
18
+ "legal-documents/<int:pk>/download/",
19
+ views.legal_document_download,
20
+ name="legal-document-download",
21
+ ),
22
+ path("legal-documents/upload/", views.legal_document_upload),
23
+ path("legal-ingestion-jobs/", views.legal_ingestion_job_list),
24
+ path("legal-ingestion-jobs/<uuid:job_id>/", views.legal_ingestion_job_detail),
25
+ ]