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

For ArrayField, we need to implement a default clean() method on models #1

Open
whusterj opened this issue Oct 4, 2021 · 0 comments

Comments

@whusterj
Copy link
Member

whusterj commented Oct 4, 2021

@dan1229 encountered this issue the other day when implementing an ArrayField. Instantiating new models in the ArrayField failed because the models did not implement a clean() method. We should implement a default clean() method on the base Model class that returns the expected object so that this does not have to be redefined on child models.

@thinknimble thinknimble deleted a comment from dan1229 Oct 7, 2021
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