Re: 1.8 RawSQL Parameter Issue

2015-08-12 Thread Tim Graham
Could you try adding a failing test case to Django's test suite based on your code in tests/expressions? On Wednesday, August 12, 2015 at 5:47:53 PM UTC-4, yong...@bloomsky.com wrote: > > I'm using the new RawSQL class with annotate suggested by the django > documentation. I noticed the second

1.8 RawSQL Parameter Issue

2015-08-12 Thread yongfeng
I'm using the new RawSQL class with annotate suggested by the django documentation. I noticed the second parameter the constructor takes is a tuple. When I used it in my project, however, I got a 'tuple object does not have attribute 'extend'' error. I looked at the trace back and source code,