When you're done with the command (assuming you're not being explicit
about the transactions), use:

 transaction.commit_unless_managed()

to force the commit.

-joe

On 5/23/07, ZebZiggle <[EMAIL PROTECTED]> wrote:
>
> More info ...
>
> I wrote a little program to execute the query directly via psycopg and
> it works fine. Even if I take this test code and put it in the running
> django code, it continues to work fine.
>
> The SQL is an UPDATE command, like
>
>         UPDATE
>             content
>         SET
>             "voteTotal" = "voteTotal" + 1,
>             "voteCount" = "voteCount" + 1
>         WHERE
>             id = 25
>
> It seems like there something about the CursorWrapper or the
> DatabaseWrapper that is preventing the execute() from working ...
>
> I'm using 0.96 with DATABASE_ENGINE = 'postgresql' backend. Everything
> else about django works fine.
>
> anyone?
>
> -S
>
>
> >
>

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

Reply via email to