Changes between Initial Version and Version 1 of Ticket #29285
- Timestamp:
- Apr 3, 2018, 2:42:52 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29285 – Description
initial v1 1 1 Documentation (https://docs.djangoproject.com/en/2.0/ref/forms/fields/#decimalfield) states that max_decimal_places is a kwarg 2 2 3 {{{ 3 4 File "/Users/paulkorir/Documents/Code/Python/Django/project-classified/project_classified/listings/forms.py", line 48, in AdvancedSearch 4 5 price_minimum = forms.DecimalField(required=False, min_value=0, max_value=2, max_decimal_places=2) … … 8 9 super().__init__(**kwargs) 9 10 TypeError: __init__() got an unexpected keyword argument 'max_decimal_places' 11 }}} 10 12 11 13 However, works with decimal_places instead of max_decimal_places