28 lines
534 B
Python
28 lines
534 B
Python
from django.db import models
|
|
|
|
import tagulous
|
|
import tagulous.models
|
|
|
|
|
|
class Examination(models.Model):
|
|
examination = models.CharField(max_length=200)
|
|
|
|
def __str__(self):
|
|
return self.examination
|
|
|
|
class Meta:
|
|
ordering = ('examination', )
|
|
|
|
class Site(models.Model):
|
|
site = models.CharField(max_length=200)
|
|
initials = models.CharField(max_length=200)
|
|
|
|
def __str__(self):
|
|
return self.site
|
|
|
|
class Condition(tagulous.models.TagModel):
|
|
pass
|
|
|
|
class Sign(tagulous.models.TagModel):
|
|
pass
|