On Tue, Mar 30, 2010 at 12:05 AM, Phlip <phlip2...@gmail.com> wrote:
>> qs.query.get_compiler(qs.db).as_sql()
>
> That gives this error message with the usual zero Google hits for that
> error message:
>
>  AttributeError: 'BaseQuery' object has no attribute 'get_compiler'

Sorry - a point of clarification. the technique I gave you is 1.2
specific. There's no analog under 1.1, because 1.1. doesn't support
multiple databases.

I presumed you were using 1.2 because your original post mentioned
using str(qs.query), rather than qs.as_sql().

Yours,
Russ Magee %_)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to