Made activity stream more useful for form changes

This commit is contained in:
David Taylor
2015-08-14 17:16:38 +03:00
committed by Tom Price
parent b3c6e4ce73
commit ece075e948
2 changed files with 12 additions and 3 deletions

View File

@@ -49,6 +49,12 @@ def model_compare(oldObj, newObj, excluded_keys=[]):
return True
return False
@property
def json(self):
if "JSON" in self.field.description:
return True
return False
@property
def linebreaks(self):
if isinstance(self.field, TextField):