This commit is contained in:
2026-04-28 19:01:00 +03:30
parent 9b7d412445
commit a75c4ca9c8
21 changed files with 1898 additions and 94 deletions
+2
View File
@@ -103,6 +103,8 @@ class FarmHub(models.Model):
)
name = models.CharField(max_length=255)
is_active = models.BooleanField(default=True)
irrigation_method_id = models.IntegerField(null=True, blank=True)
irrigation_method_name = models.CharField(max_length=255, blank=True, default="")
current_crop_area = models.ForeignKey(
"crop_zoning.CropArea",
on_delete=models.SET_NULL,