Thanks for the enlightenment - seems I had some misconceptions about
how validators work. Based on this misconceptions I designed some tests
which somehow worked but not as I liked - hence my posting. My crude
first cut was like this:
# ripped out of django/db/models/base.py
def validate(instance
On Fri, 2006-09-22 at 23:46 -0700, Maximillian Dornseif wrote:
> I'm struggeling to build tests for (custom) validators - see
> http://www.djangoproject.com/documentation/forms/#validators for the
> basics.
>
> To my understanding there are two kinds of validators:
>
> a) Validators inherent t
2 matches
Mail list logo