Django’s documentation states that DecimalField has two required arguments: max_digits and decimal_places ( Model field reference | Django documentation | Django ) but both arguments has default value set to None (as if they were optional). I’m using DecimalField without setting decimal_places (to allow any number of decimals) and I don’t get any error.
My question is: Are max_digits and decimal_places really required or there’s an error in documentation?
Thanks in advance.