On 25 Set, 22:31, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> You should consider using a custom ModelForm[1] instead of this
> approach. Override its clean() method to perform your checks and throw
> a ValidationError when you don't want the save to proceed. You can
> then also make the Admin use this custom form[2].

thanks it worked! now I still have a problem, but I'll open a new
thread.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to