Re: making queryset.delete issue only a single SQL query

2010-09-19 Thread Tobias McNulty
On Sun, Sep 19, 2010 at 11:41 AM, Alex Gaynor wrote: > On Sun, Sep 19, 2010 at 10:28 AM, drakkan wrote: > > in my opinion django should emulate "ON DELETE CASCADE" only on > > database backends that doesn't support it, if you are using a database > > such as postgres delete() on a queryset shoul

Re: making queryset.delete issue only a single SQL query

2010-09-19 Thread Alex Gaynor
On Sun, Sep 19, 2010 at 10:28 AM, drakkan wrote: > > > On 17 Set, 15:38, Tobias McNulty wrote: >> On Fri, Sep 17, 2010 at 8:27 AM, SmileyChris wrote: >> >> >  On Sep 11, 1:12 pm, Tobias McNulty wrote: >> > > I may be missing something, but queryset.delete() seems oddly implemented >> > in >> >

Re: making queryset.delete issue only a single SQL query

2010-09-19 Thread drakkan
On 17 Set, 15:38, Tobias McNulty wrote: > On Fri, Sep 17, 2010 at 8:27 AM, SmileyChris wrote: > > >  On Sep 11, 1:12 pm, Tobias McNulty wrote: > > > I may be missing something, but queryset.delete() seems oddly implemented > > in > > > Django.  It does a select to get all the IDs to be deleted

Re: Possible bug discovered

2010-09-19 Thread Karen Tracey
On Sun, Sep 19, 2010 at 3:08 AM, Yo-Yo Ma wrote: > I got a printout of a stack trace on a white screen: I don't know how > I can help you guys find the bug since I have zero context with this > stack trace, but hopefully it helps. > As Russ said, with just a bare traceback with no information ab

Re: Possible bug discovered

2010-09-19 Thread Russell Keith-Magee
On Sun, Sep 19, 2010 at 3:08 PM, Yo-Yo Ma wrote: > I got a printout of a stack trace on a white screen: I don't know how > I can help you guys find the bug since I have zero context with this > stack trace, but hopefully it helps. There isn't a great deal we can do to help here. A stack trace by

Re: Possible bug discovered

2010-09-19 Thread Yo-Yo Ma
Django version: 13858 -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. Fo

Possible bug discovered

2010-09-19 Thread Yo-Yo Ma
I got a printout of a stack trace on a white screen: I don't know how I can help you guys find the bug since I have zero context with this stack trace, but hopefully it helps. Traceback (most recent call last): File "C:\Python26\Lib\site-packages\django-trunk\django\core\servers \basehttp.py",