Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect `validator` docs #320
I spent about an hour trying to implement a custom
class MyValidator(Validator): def _validate_isodd(self, isodd, field, value):
class MyValidator(Validator): def _validator_isodd(self, isodd, field, value):
disclaimer: i might be wrong as i'm quiet tired.
@bryanwweber, i edited Nicola's answer yesterday or the day before to point a major difference. i notice, i should amend an example (put a link to one now). if there's still clarification needed, please let us know.
one thought: maybe we shouldn't talk of 'custom validators', there are no standard ones, so custom rule vs. validator.