Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove 2 decimal place default for Numeric/Float #2

Merged
merged 1 commit into from
Mar 26, 2016

Conversation

pawl
Copy link
Contributor

@pawl pawl commented Dec 23, 2015

It's common for users to use Float for GPS coordinates, and having a default of 2 decimal places isn't desirable.

This pull request changes the default to unlimited decimal places. And, instead relies on SQLAlchemy or the database to set limits on the displayed number of decimal places.

More details available here: flask-admin/flask-admin#1155

@ThomasLecocq
Copy link

Hi,

Could this be accepted and merged & released ? it's quite blocking ... :s

@pawl pawl merged commit cf1c2f6 into wtforms:master Mar 26, 2016
@pawl pawl deleted the patch-1 branch March 26, 2016 23:37
@davidism davidism added this to the 0.2 milestone Jun 29, 2018
mx-moth pushed a commit to mx-moth/wtforms-sqlalchemy that referenced this pull request Jan 21, 2020
…nflict

Resolve wtforms#2 WTForms 1.0.15 Python 3.8 conflict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants