﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29285	forms.DecimalField doesn't recognise max_decimal_places kwarg	Paul Korir	nobody	"Documentation (https://docs.djangoproject.com/en/2.0/ref/forms/fields/#decimalfield) states that max_decimal_places is a kwarg

{{{
File ""/Users/paulkorir/Documents/Code/Python/Django/project-classified/project_classified/listings/forms.py"", line 48, in AdvancedSearch
    price_minimum = forms.DecimalField(required=False, min_value=0, max_value=2, max_decimal_places=2)
  File ""/Users/paulkorir/miniconda3/envs/project_classified/lib/python3.6/site-packages/django/forms/fields.py"", line 330, in __init__
    super().__init__(max_value=max_value, min_value=min_value, **kwargs)
  File ""/Users/paulkorir/miniconda3/envs/project_classified/lib/python3.6/site-packages/django/forms/fields.py"", line 254, in __init__
    super().__init__(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'max_decimal_places'
}}}

However, works with decimal_places instead of max_decimal_places"	Uncategorized	new	Documentation	2.0	Normal		fields, max_decimal_places		Unreviewed	0	0	0	0	1	0
