shiforkorlar royxatini olish uchun api qoshildi
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2 on 2025-11-28 10:21
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('shared', '0011_tourplan_date'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='doctor',
|
||||
name='extra_location',
|
||||
field=models.JSONField(blank=True, null=True),
|
||||
),
|
||||
]
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user