On Aug 22, 2008, at 2:10 AM, jboutros wrote: > I have a model where I've overridden the save method. In a specific > case (validation fails against an external web service), I would like > to prevent the save from happening. I have implemented this by not > calling super.save in this case. > > (see > http://www.djangoproject.com/documentation/model-api/#overriding-default-model-methods)
... > Am I missing something obvious? Any thoughts? Have you considered adding your own validation via the standard newforms way? http://www.djangoproject.com/documentation/admin/#adding-custom-validation-to-the-admin --- David Zhou [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---