Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Form fields localization #40

@trendspotter

Description

@trendspotter

CTS does not accept localized values in form fields. This is especially annoying in locales using comma as decimal separator. The application correctly populates the placeholder as eg 0,00 but then complains that the value is not a valid number and accepts only dot as a decimal separator.

Seems that form field localization needs to be explicitly enabled - https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#enabling-localization-of-fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions