This commit is contained in:
2026-04-25 17:22:41 +03:30
parent 569d520a5c
commit aa24fc22b0
124 changed files with 8491 additions and 2582 deletions
+11
View File
@@ -1,3 +1,5 @@
from functools import cached_property
from django.apps import AppConfig
@@ -5,3 +7,12 @@ class SoilDataConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "location_data"
verbose_name = "Soil Data (SoilGrids)"
@cached_property
def ndvi_health_service(self):
from .ndvi import NdviHealthService
return NdviHealthService()
def get_ndvi_health_service(self):
return self.ndvi_health_service