Skip to content

Commit 10c8142

Browse files
authored
Merge pull request #11 from pratham534/os-2
changes related to apis
2 parents ceee427 + cd503a4 commit 10c8142

File tree

1 file changed

+2
-2
lines changed
  • FusionIIIT/applications/health_center

1 file changed

+2
-2
lines changed

FusionIIIT/applications/health_center/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Constants:
3333
)
3434

3535
class Doctor(models.Model):
36-
doctor_name = models.CharField(choices=Constants.NAME_OF_DOCTOR, max_length=50)
36+
doctor_name = models.CharField(max_length=50)
3737
doctor_phone = models.CharField(max_length=15)
3838
specialization = models.CharField(max_length=100)
3939
active = models.BooleanField(default=True)
@@ -42,7 +42,7 @@ def __str__(self):
4242
return self.doctor_name
4343

4444
class Pathologist(models.Model):
45-
pathologist_name = models.CharField(choices=Constants.NAME_OF_PATHOLOGIST, max_length=50)
45+
pathologist_name = models.CharField(max_length=50)
4646
pathologist_phone = models.CharField(max_length=15)
4747
specialization = models.CharField(max_length=100)
4848
active = models.BooleanField(default=True)

0 commit comments

Comments
 (0)