Digging into the problem I'm having with a standalone django script, the problem seems to be that django doesn't see updates to the database unless it writes to the database.
In the following lines, ss = engine.SessionStore(session_id) session=ss.load() If session_id "abcd" has been added to the session table after the script started, the load will not find it. Instead, it will create a new session, say "wxyz" and write it to the table. After writing it to the table, a subsequent load on "abcd" will succeed: it's now in sync with the database, at least until another process writes to it. Anyone know where this caching is happening? I have no caching middleware enabled. Does django cache results of Model queries? Or would the db layer be caching it? And how can I get django to sync before looking up a session? -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.