from django.db import models
from django_kepi import register_type
class ThingUser(models.Model):
name = models.CharField(max_length=256)
#activity_object = models.OneToOneField(
# ActivityObject,
# on_delete=models.CASCADE,
# )
def serialize(self):
return {
'name': self.name,
}