update api configuration for panel iot and adjust ai insight

This commit is contained in:
Alberto-Audrix committed 2026-09-18 16:06:41 +07:00
1 parent a2b5b10977
commit 20d04acb3e
20 files changed
+814 -177

No files matched your search

+1
View File
@@ -80,6 +80,7 @@ class Kandang(models.Model):
class Flock(models.Model):
flock_id = models.BigAutoField(primary_key=True)
flock_name = models.CharField(max_length=30)
iot_api_url = models.CharField(max_length=500, blank=True, default="")
kandang = models.ForeignKey(
Kandang,
on_delete=models.CASCADE,