This commit is contained in:
Ross
2021-12-23 22:33:12 +00:00
parent 7325dace93
commit bdb5e19298
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ from django.core.mail import send_mail
class Plane(models.Model):
plane = models.CharField(max_length=200)
plane = models.CharField(max_length=200, unique=True)
def __str__(self):
return self.plane
@@ -31,7 +31,7 @@ class Plane(models.Model):
class Contrast(models.Model):
contrast = models.CharField(max_length=200)
contrast = models.CharField(max_length=200, unique=True)
def __str__(self):
return self.contrast