On Wed, Nov 24, 2010 at 3:34 PM, Jumpfroggy <rocketmonk...@gmail.com> wrote:

> I want to run a script outside of the django server for maintenance
> purposes, but it still accesses some of the models.  The problem is
> that I can't seem to get the model object to reload it's data from the
> DB - it always seems cached.
> [code snipped]


What database? If MySQL/InnoDB I think you are seeing the result of its
default "repeatable read" transaction isolation level. More details in this
thread:

http://groups.google.com/group/django-users/browse_thread/thread/e25cec400598c06d/

Karen
-- 
http://tracey.org/kmt/

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