Skip to content

Added validation exceptions for required fields with allow_blank set to True to mirror Django's validation logic #2021

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

Closed
wants to merge 2 commits into from

Conversation

jarrodb
Copy link

@jarrodb jarrodb commented Nov 4, 2014

Addresses issue 2017

…to True to mirror Django's validation logic
…eplaced with a call to getattr with a default None value
@tomchristie tomchristie modified the milestone: 3.0 Release Nov 6, 2014
@mhsparks
Copy link

Just came across this, pulled from master and mostly was fixed!

One remaining issue was that we still have the problem on foreign keys, does similar functionality need adding to get_relation_kwargs as well?

@tomchristie
Copy link
Member

@mhsparks Good point. Now resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants