django-eav2/tests/models.py

13 lines
234 B
Python
Raw Normal View History

2010-09-06 20:46:11 +00:00
from django.db import models
2010-09-06 21:22:41 +00:00
from ..utils import EavRegistry
2010-09-06 20:46:11 +00:00
class Patient(models.Model):
class Meta:
app_label = 'eav_ng'
name = models.CharField(max_length=20)
def __unicode__(self):
return self.name