Add a lot of basic serializers for some of the other object types. These may evolve.

This commit is contained in:
Michael DeHaan
2013-03-21 15:28:40 -04:00
parent 0fa9255ab1
commit eeb0dfd9ba
2 changed files with 65 additions and 7 deletions

View File

@@ -51,6 +51,8 @@ class AuditTrail(CommonModel):
delta = models.TextField() # FIXME: switch to JSONField
detail = models.TextField()
comment = models.TextField()
# FIXME: this looks like this should be a ManyToMany
tag = models.ForeignKey('Tag', on_delete=SET_NULL, null=True, blank=True)
class Organization(CommonModel):