1
0
Fork 0

Fixes review name in pure serialization

This commit is contained in:
Mouse Reeve 2021-03-24 09:31:45 -07:00
parent a0793a15f5
commit bde6ce8525
3 changed files with 20 additions and 8 deletions

View file

@ -448,3 +448,6 @@ class IntegerField(ActivitypubFieldMixin, models.IntegerField):
class DecimalField(ActivitypubFieldMixin, models.DecimalField):
""" activitypub-aware boolean field """
def field_to_activity(self, value):
return float(value)