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

Fix unique validator for ChoiceField#5026

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

Closed
jpadilla wants to merge1 commit intoencode:masterfromjpadilla:issue-5004

Conversation

@jpadilla
Copy link
Contributor

Description

Fix missing unique validators in ChoiceFields.Closes#5004

Any better place to put this test?

# If this model field contains choices, then return early.
# Further keyword arguments are not valid.
kwargs['choices']=model_field.choices
returnkwargs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Granted this may not be failing any tests, but I'm pretty wary.

Let's make sure that we're testing the case that this describes (a field that would result in adding keyword args thataren't valid on ChoiceField)

@jpadilla
Copy link
ContributorAuthor

Closing in favor of#5028

@jpadillajpadilla deleted the issue-5004 branchMarch 28, 2017 06:05
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@lovelydinosaurlovelydinosaurlovelydinosaur left review comments

Assignees

No one assigned

Labels

Projects

None yet

Milestone

3.6.3 Release

Development

Successfully merging this pull request may close these issues.

2 participants

@jpadilla@lovelydinosaur

[8]ページ先頭

©2009-2025 Movatter.jp