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

Use DecimalFields for admin inputs #1070

Merged
merged 2 commits into from
Apr 24, 2020
Merged

Use DecimalFields for admin inputs #1070

merged 2 commits into from
Apr 24, 2020

Conversation

Jkrzy
Copy link
Contributor

@Jkrzy Jkrzy commented Apr 24, 2020

Description

Updating admin form fields so that the desired number of decimal places are rendered as initial values for Timecard and UserData objects.

I feel like this should be the default behavior in the Django admin since these were already defined as decimal fields at the model level, will poke around a bit more when I've got some more time.

@Jkrzy Jkrzy merged commit 9554519 into master Apr 24, 2020
@Jkrzy Jkrzy deleted the admin-input-tweaks branch April 24, 2020 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants