if x > y:
should read
except:
of course...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group,
David,
for me, these two links did the trick:
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-custom-validation-to-the-admin
http://docs.djangoproject.com/en/dev/ref/forms/validation/#ref-forms-validation
However, validation as described in the Django docs does not happen in
the
David,
I've been looking for a solution for this problem, too.
Maybe this helps - I'm yet to try this out:
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-custom-validation-to-the-admin
Things seem to be underway though:
http://code.djangoproject.com/ticket/6845
Hi group,
I have overridden a Model's save() method. In my method, I update
another database on another server with a simple password. My question
is: when that database is somehow not available and I have catched an
exception, how do I propagate that to the django-admin model form I was
4 matches
Mail list logo