django-constance
django-constance copied to clipboard
Default value for float field separated by comma instead point in admin interface
Describe the problem
If I have default value for float option of constance config, it render with comma in admin interface. If I click on the default value and then try to save constance config, I will have type error message. Is it normal?
Steps to reproduce
Add this constance config:
CONSTANCE_CONFIG = { 'TEST_FIELD': (0.02, 'Example', float), }
System configuration
- Django version:
- Python version:
Python 3.6.3
Django==2.1.5 django-constance==2.4.0
Observed the same behavior for django-constance==2.7.0
.
Seems that the default value is not rendered language dependend. If custom value is set, everything is fine.
it is fixed in recent version