1 from django.db import models
2 from ee.base.models import EEObject
4 # Create your models here.
5 class Character(EEObject):
6 name = models.CharField(maxlength=255)
13 class Influence(EEObject):
14 contact = models.CharField(maxlength=255)
15 character = models.ForeignKey(Character, edit_inline=models.TABULAR, num_in_admin=3, core=True)
16 description = models.TextField()
19 return self.description[0:10]