Re: Overriding Model's save method: error propagation

2009-01-14 Thread Markus T.
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, se

Re: Overriding Model's save method: error propagation

2009-01-14 Thread Markus T.
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 m

Re: Overriding Model's save method: error propagation

2009-01-14 Thread Markus
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 http://wiki.github