You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.
But I'm not sure how effectively errors can be cached? Maybe the property should always run the full validation suite before returning to prevent divergence? Meh...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The errors property on models.base should check for _errors first, and if not exists call .is_valid for you
I can:
x = MyModel.objects.create()
x.errors # == []
but not:
x = MyModel()
x.errors # raises AttributeError!
The text was updated successfully, but these errors were encountered: