Add min and max to num membership months
This commit is contained in:
parent
d4f5ab03cf
commit
bcb34cf63e
|
@ -45,6 +45,7 @@ class TransactionSerializer(serializers.ModelSerializer):
|
||||||
'Unmatched Purchase',
|
'Unmatched Purchase',
|
||||||
'User Flagged',
|
'User Flagged',
|
||||||
], allow_null=True, required=False)
|
], allow_null=True, required=False)
|
||||||
|
number_of_membership_months = serializers.IntegerField(max_value=36, min_value=-36)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = models.Transaction
|
model = models.Transaction
|
||||||
|
|
Loading…
Reference in New Issue
Block a user