On Mon, 2008-04-14 at 23:56 -0700, Simon Litchfield wrote:
> Anyone who mixes the ORM with raw data-modifying SQL concurrently may
> well be in for a surprise.
>
> Scenario. Load your model; run your data-modifying SQL; then
> explicitly try to reload your model to refresh it's data. Gotcha. The
Lazy-loading sorry, not 'caching'
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send
Anyone who mixes the ORM with raw data-modifying SQL concurrently may
well be in for a surprise.
Scenario. Load your model; run your data-modifying SQL; then
explicitly try to reload your model to refresh it's data. Gotcha. The
inbuilt queryset cache will cleverly skip straight over your attempt