Make rating a decimal field

This commit is contained in:
Mouse Reeve
2021-03-19 12:14:59 -07:00
parent 5f1bed3d78
commit 266c6fe777
3 changed files with 27 additions and 1 deletions

View File

@ -444,3 +444,7 @@ class BooleanField(ActivitypubFieldMixin, models.BooleanField):
class IntegerField(ActivitypubFieldMixin, models.IntegerField):
""" activitypub-aware boolean field """
class DecimalField(ActivitypubFieldMixin, models.DecimalField):
""" activitypub-aware boolean field """