2026-04-24 17:40:25 +03:30
|
|
|
from django.http import HttpResponse
|
2026-04-24 22:20:15 +03:30
|
|
|
from django.urls import include, path
|
2026-04-24 17:40:25 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_view(_request):
|
|
|
|
|
return HttpResponse("ok")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path("__test__/", test_view),
|
2026-04-24 22:20:15 +03:30
|
|
|
path("api/rag/", include("rag.urls")),
|
2026-04-25 17:22:41 +03:30
|
|
|
path("api/farm-alerts/", include("farm_alerts.urls")),
|
|
|
|
|
path("api/pest-disease/", include("pest_disease.urls")),
|
|
|
|
|
path("api/farm-data/", include("farm_data.urls")),
|
2026-04-24 17:40:25 +03:30
|
|
|
]
|