mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Migration to django 1.11
This commit is contained in:
@ -41,8 +41,6 @@ class CurrencyField(models.DecimalField):
|
||||
"""
|
||||
This is a custom database field used for currency
|
||||
"""
|
||||
__metaclass__ = models.SubfieldBase
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
kwargs['max_digits'] = 12
|
||||
kwargs['decimal_places'] = 2
|
||||
|
Reference in New Issue
Block a user