django-mongodbforms icon indicating copy to clipboard operation
django-mongodbforms copied to clipboard

Localization for DocumentForm

Open realhik opened this issue 9 years ago • 0 comments

My settings.py has entries for localization:

 LANGUAGE_CODE = 'de'
 USE_L10N = True

When using {{ form.as_p }} in templates for a DocumentForm the decimal seperator is not a comma as expected. Forms are created from a Document by:

class NodeForm(DocumentForm):
    class Meta:
        document = nodeClass

How can I enable localization?

realhik avatar Apr 24 '15 18:04 realhik