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

Add saves_null_values attribute to Field #611

Conversation

thauk-copperleaf
Copy link
Contributor

No description provided.

@bmihelac
Copy link
Member

@thauk-copperleaf I understand that using saves_null_values would avoid setting null values, ie: obj.myattr = None but cannot recall use case where this would be needed. Is one use case avoiding setting None when default value exists?

@thauk-copperleaf
Copy link
Contributor Author

Is one use case avoiding setting None when default value exists?

Exactly that.

@bmihelac
Copy link
Member

Great, thanks @thauk-copperleaf

@bmihelac bmihelac merged commit 1deead6 into django-import-export:master Jun 23, 2017
@thauk-copperleaf thauk-copperleaf deleted the add-saves-null-values-attribute-to-field branch July 10, 2017 16:48
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.

None yet

2 participants