basic support for bulk series uploading
This commit is contained in:
+3
-2
@@ -46,10 +46,11 @@ def findMiddle(input_list):
|
||||
|
||||
|
||||
class Modality(models.Model):
|
||||
modality = models.CharField(max_length=200)
|
||||
modality = models.CharField(max_length=200, unique=True)
|
||||
short_code = models.CharField(max_length=5, unique=True, null=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.modality
|
||||
return f"{self.modality} ({self.short_code})"
|
||||
|
||||
|
||||
class Plane(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user