So I have this class, CreateView, I use it to add a new location to the model location.model. It describes a certain location with coordinates and a small description.
Since I set the I18N settings to True, the decimalField will use comma separated inputs. Since they're coordinates, I would like the use the "." as separator.
forms.DecimalField(max_digits=16, decimal_places=14, localize=False)
Is there such an option with CreateView, I'd like to use the current view instead of rewriting to a form view.
My settings
#settings.py
LANGUAGE_CODE = 'nl'
TIME_ZONE = 'Europe/Amsterdam'
USE_I18N = True
USE_L10N = True
Any other solution would be great, other than I'd like to use the generic class based views.