diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-07-21 16:19:08 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-07-21 16:19:08 -0400 |
| commit | 5ab558004c816deb258eef16b340c1cf9cda7776 (patch) | |
| tree | a4bac66a7037813eccbe23d7206de187dec735cf /examples/beaker_caching/advanced.py | |
| parent | 9e84c0251f3480deab96728f3642527f69076bcb (diff) | |
| download | sqlalchemy-5ab558004c816deb258eef16b340c1cf9cda7776.tar.gz | |
- The beaker_caching example has been reorgnized
such that the Session, cache manager,
declarative_base are part of environment, and
custom cache code is portable and now within
"caching_query.py". This allows the example to
be easier to "drop in" to existing projects.
Diffstat (limited to 'examples/beaker_caching/advanced.py')
| -rw-r--r-- | examples/beaker_caching/advanced.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/beaker_caching/advanced.py b/examples/beaker_caching/advanced.py index e14b96973..113060033 100644 --- a/examples/beaker_caching/advanced.py +++ b/examples/beaker_caching/advanced.py @@ -6,9 +6,9 @@ and collection caching. """ -import environment +from environment import Session from model import Person, Address, cache_address_bits -from meta import Session, FromCache, RelationshipCache +from caching_query import FromCache, RelationshipCache from sqlalchemy.orm import joinedload def load_name_range(start, end, invalidate=False): |
