shiforkorlar royxatini olish uchun api qoshildi

This commit is contained in:
behruz-dev
2025-11-28 15:23:02 +05:00
parent e2386dcb11
commit 120b5ea4d5
4 changed files with 230 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class Doctor(BaseModel):
# location
longitude = models.FloatField(default=0.00)
latitude = models.FloatField(default=0.00)
extra_location = models.JSONField()
extra_location = models.JSONField(null=True, blank=True)
def __str__(self):
return f"{self.first_name} {self.last_name} - {self.work_place}"