Fixes review name in pure serialization
This commit is contained in:
parent
a0793a15f5
commit
bde6ce8525
3 changed files with 20 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue