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
The downside of this obviously being that validation errors are no longer linked to the affected field. I was surprised to find no mention of this limitation in the documentation nor online.
I had no success locating the issue in the limited time I put into looking at parler's code -- my bad.
If there's any guidance into where the problem lies, and the solution isn't a major refact, I'm happy to look into it and contribute a PR.
The text was updated successfully, but these errors were encountered:
Hello folks,
I applied
validators=[myfun]
to aTranslatedFields
's field today. It looked like this:The
validators
field is ignored – i.e. callingMyModel(name='foo', description='bar').full_clean()
is always accepted.The only way I found to get validation to work was the following:
The downside of this obviously being that validation errors are no longer linked to the affected field. I was surprised to find no mention of this limitation in the documentation nor online.
I had no success locating the issue in the limited time I put into looking at parler's code -- my bad.
If there's any guidance into where the problem lies, and the solution isn't a major refact, I'm happy to look into it and contribute a PR.
The text was updated successfully, but these errors were encountered: