On Wed, Jun 4, 2008 at 6:37 AM, puff <[EMAIL PROTECTED]> wrote:

>
> The original code used a loop as you illustrated for the delete.
> Although I no longer have the original code, the annotated traces (see
> below) show the delete code in xx_xxraid was NOT invoked.  This
> strikes me as at least a deficiency if not a bug.
>

There is a ticket open for this, I believe:

http://code.djangoproject.com/ticket/6915

It has not been reviewed yet.

Karen


>
> ---- initializexxNode
> todo: tell SS delete xxnode           (would have expected related
> delete message here but the xxraid model's delete method wasn't
> invoked)
> ...
> ---- initializeESRaid
> ---xxraids have 0                          (since here all the xxraid
> s are gone)
>
>
> On Jun 4, 6:12 am, Jonathan Lukens <[EMAIL PROTECTED]> wrote:
> > It is my understanding that the delete method you are calling is a
> > QuerySet method, not a model method, and thus there is nothing
> > overriding it.  I'm sure that if you did this:
> >
> > for x in xxRaid.objects.all():
> >     x.delete()
> >
> > Then your method will be called as desired.  The overrides are for the
> > DB API.
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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