This commit is contained in:
2026-04-02 23:25:39 +03:30
parent 881f8efa4d
commit bd0d04256c
84 changed files with 2725 additions and 856 deletions
+5 -4
View File
@@ -27,7 +27,8 @@ INSTALLED_APPS = [
"django.contrib.staticfiles",
"auth.apps.AuthConfig",
"account.apps.AccountConfig",
"sensor_hub.apps.SensorHubConfig",
"farm_hub.apps.FarmHubConfig",
"plant.apps.PlantConfig",
"dashboard",
"crop_zoning",
"plant_simulator",
@@ -146,9 +147,9 @@ EXTERNAL_SERVICES = {
"base_url": os.getenv("AI_SERVICE_BASE_URL", ""),
"api_key": os.getenv("AI_SERVICE_API_KEY", ""),
},
"sensor_hub": {
"base_url": os.getenv("SENSOR_HUB_SERVICE_BASE_URL", ""),
"api_key": os.getenv("SENSOR_HUB_SERVICE_API_KEY", ""),
"farm_hub": {
"base_url": os.getenv("FARM_HUB_SERVICE_BASE_URL", ""),
"api_key": os.getenv("FARM_HUB_SERVICE_API_KEY", ""),
},
}
+1 -1
View File
@@ -9,7 +9,7 @@ urlpatterns = [
path("api/docs/redoc/", SpectacularRedocView.as_view(url_name="schema"), name="redoc"),
path("api/auth/", include("auth.urls")),
path("api/account/", include("account.urls")),
path("api/sensor-hub/", include("sensor_hub.urls")),
path("api/farm-hub/", include("farm_hub.urls")),
path("api/farm-dashboard-config/", include("dashboard.urls_config")),
path("api/farm-dashboard/", include("dashboard.urls")),
path("api/crop-zoning/", include("crop_zoning.urls")),