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