This commit is contained in:
Ross
2021-02-25 18:08:58 +00:00
parent 2663488e1e
commit 2737ba847b
4 changed files with 59 additions and 1 deletions
+8
View File
@@ -7,6 +7,14 @@ import tagulous.models
from sortedm2m.fields import SortedManyToManyField
class Plane(models.Model):
plane = models.CharField(max_length=200)
def __str__(self):
return self.plane
class Meta:
ordering = ('plane', )
class Examination(models.Model):
examination = models.CharField(max_length=200)