.
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user