Skip to content

Commit

Permalink
Fixed price field ignores configured decimal size
Browse files Browse the repository at this point in the history
  • Loading branch information
matllubos committed Aug 8, 2019
1 parent ccc537a commit dad35b0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions chamber/models/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,6 @@ def formfield(self, **kwargs):
}
)

def deconstruct(self):
name, path, args, kwargs = super().deconstruct()
del kwargs['max_digits']
del kwargs['decimal_places']
return name, path, args, kwargs


class PositivePriceField(PriceField):

Expand Down

0 comments on commit dad35b0

Please sign in to comment.