Re: Possible ORM bug with SQL syntax & generic relations

2013-01-31 Thread Dylan Klomparens
I have confirmed that removing the ordering line from the Meta class of the model hides this bug. It looks as though your first assessment was spot on, Ian :-). On Thu, Jan 31, 2013 at 11:40 AM, Dylan Klomparens < dylan.klompar...@gmail.com> wrote: > Some additional information: here is the erro

Re: Possible ORM bug with SQL syntax & generic relations

2013-01-31 Thread Dylan Klomparens
Ah, after a second look, yes you are right, it was a transcription error with the number of parenthesis. Apologies for the confusion! I've attached the model admin. The Django version is: >>> import django >>> django.VERSION (1, 5, 0, 'rc', 1) -- Dylan On Thu, Jan 31, 2013 at 2:04 AM, Ian Kelly

Re: Possible ORM bug with SQL syntax & generic relations

2013-01-30 Thread Ian Kelly
On Wed, Jan 30, 2013 at 10:10 PM, Dylan Klomparens wrote: > It's interesting this seems to work with 10g XE. I am not sure if this is > relevant, but I am using the Full Oracle Client with Administrative Tools > (as oppose to the Oracle Instant Client) and cx_Oracle for Python access to > the data

Re: Possible ORM bug with SQL syntax & generic relations

2013-01-30 Thread Dylan Klomparens
It's interesting this seems to work with 10g XE. I am not sure if this is relevant, but I am using the Full Oracle Client with Administrative Tools (as oppose to the Oracle Instant Client) and cx_Oracle for Python access to the database. The error I felt was most problematic is that the SQL stateme

Re: Possible ORM bug with SQL syntax & generic relations

2013-01-30 Thread Ian Kelly
On Wed, Jan 30, 2013 at 4:30 PM, Dylan Klomparens wrote: > Hello, > > I've encountered what may be a Django ORM bug and am writing to see what the > dev community thinks. I have a model that uses generic relations. An error > is returned when I attempt to delete multiple rows of said model in the

Re: Possible ORM bug with SQL syntax & generic relations

2013-01-30 Thread Dylan Klomparens
Something I forgot to mention: I have *only observed the bug using Oracle 11g*. Everything seems to work fine with SQLite3. On Wed, Jan 30, 2013 at 6:30 PM, Dylan Klomparens < dylan.klompar...@gmail.com> wrote: > Hello, > > I've encountered what may be a Django ORM bug and am writing to see what

Possible ORM bug with SQL syntax & generic relations

2013-01-30 Thread Dylan Klomparens
Hello, I've encountered what may be a Django ORM bug and am writing to see what the dev community thinks. I have a model that uses generic relations. An error is returned when I attempt to delete multiple rows of sa