Monday, April 30, 2012

Re: executing raw sql

On Mon, 30 Apr 2012 15:29:08 -0600, Larry Martell
<> declaimed the following in

> But in django I am doing this:
> from django.db import connection
> cursor = connection.cursor()
> cursor.execute(sql)
> and it's getting the error, so that would mean that the sql isn't
> getting executed for some reason. I'll have to investigate that
> avenue.

You still haven't show us what "sql" contains... Given your three
statements I'd expect to get an error message since "sql" itself is

Wulfraed Dennis Lee Bieber AF6VN HTTP://

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment