I didn't try it, but werefr0g may be right. It seems that Model.clean() is the method do you need. And you can still add a javascript control for more convenience without the risk that if a user deactivate javascript, the error will be saved.
Let us know greenie if it's ok with this method. On 11 mar, 22:03, werefr0g <weref...@yahoo.fr> wrote: > Hello, > > Can Model.clean() method help you? [1] You'll still have to pay > attention to validation before trying to save your instances.[2] > > Regards, > > [1]http://docs.djangoproject.com/en/dev/ref/models/instances/#django.db.... > [2]http://docs.djangoproject.com/en/dev/releases/1.2/#model-validation -- 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, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.