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 ModelBase configuration option to force strict update by default #8

Closed
dgilland opened this issue Mar 24, 2014 · 1 comment
Closed

Comments

@dgilland
Copy link
Owner

In ModelBase.update() there is an argument to restrict updatable fields to Model.strict_update_fields. By default, strict update is disabled when calling update() and requires update(..., strict=True) to enable. A configuration property should be available to make strict=True the default. Something like ModelBase.__strict_update__ = False and update(..., strict=None).

@dgilland
Copy link
Owner Author

dgilland commented May 5, 2014

Considering removing the strict update concept and requiring this to be implemented in user-land.

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

No branches or pull requests

1 participant