mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-05-16 03:23:16 +00:00
15 lines
317 B
Python
15 lines
317 B
Python
from django.db import models
|
|
|
|
from eav_ng.models import EavEntity, EavAttribute
|
|
from eav_ng.utils import EavRegistry
|
|
|
|
# Create your models here.
|
|
class Patient(models.Model):
|
|
class Meta:
|
|
app_label = 'eav_ng'
|
|
|
|
|
|
name = models.CharField(max_length=20)
|
|
|
|
def __unicode__(self):
|
|
return self.name
|