Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Accept integers as min/max values of DecimalField#9515

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

browniebroke
Copy link
Member

@browniebrokebrowniebroke commentedAug 29, 2024
edited
Loading

Description

The type of min/max values forDecimalField should beDecimal objects since#8972 and we turn this into a Python warning in#9367. However,@terencehonles pointed out that integers should be accepted.

Update the warning to ignore integers and clarify in the docs what types are accepted.

@auvipyauvipy self-requested a reviewAugust 30, 2024 08:58
@tomchristie
Copy link
Member

#8972 (comment) that integers should be accepted, but that might be a separate discussion...

Good call, yep.

@browniebrokebrowniebroke changed the titleUse Decimal for min/max values of DecimalField in tests & docsAccept integers as min/max values of DecimalFieldSep 6, 2024
@browniebrokebrowniebrokeforce-pushed thedecimal-field-min-max-values-types branch fromd2ab1ef to9fef0f6CompareSeptember 6, 2024 15:45
@auvipyauvipy merged commit125ad42 intoencode:masterSep 7, 2024
7 checks passed
@browniebrokebrowniebroke deleted the decimal-field-min-max-values-types branchSeptember 7, 2024 16:03
@browniebrokebrowniebroke added this to the3.16 milestoneJan 16, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@auvipyauvipyauvipy approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
3.16
Development

Successfully merging this pull request may close these issues.

3 participants
@browniebroke@tomchristie@auvipy

[8]ページ先頭

©2009-2025 Movatter.jp