On 7/2/07, Lawrence Wang <[EMAIL PROTECTED]> wrote:
> tell me more about transaction management -- i don't believe i'm using any,
> because there's nothing in my settings.py that would seem to apply, but
> perhaps i've overlooked something trivial.

You can read about it at [0].  You can read more about isolation
levels in MySQL at [1].

If you're using InnoDB, it defaults to repeatable-read, which I
imagine is what you're seeing.

Try this in your shell **between** accesses to User.objects.all():
>>> from django.db import transaction
>>> transaction.commit_unless_managed()


If this is a problem for you, you can always change the isolation
level, but that's a database issue.



> thanks for the heads-up. i'm looking forward to multi-db getting more
> up-to-date.

See #4747 at [2].

 - Ben


[0] http://www.djangoproject.com/documentation/transactions/
[1] http://www.databasejournal.com/features/mysql/article.php/3393161
[2] http://code.djangoproject.com/ticket/4747

--~--~---------~--~----~------------~-------~--~----~
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