diff options
Diffstat (limited to 'examples/dogpile_caching/fixture_data.py')
| -rw-r--r-- | examples/dogpile_caching/fixture_data.py | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/examples/dogpile_caching/fixture_data.py b/examples/dogpile_caching/fixture_data.py index e301db2a4..8387a2cb2 100644 --- a/examples/dogpile_caching/fixture_data.py +++ b/examples/dogpile_caching/fixture_data.py @@ -1,12 +1,18 @@ -"""Installs some sample data. Here we have a handful of postal codes for a few US/ -Canadian cities. Then, 100 Person records are installed, each with a -randomly selected postal code. +"""Installs some sample data. Here we have a handful of postal codes for +a few US/Canadian cities. Then, 100 Person records are installed, each +with a randomly selected postal code. """ -from .environment import Session, Base -from .model import City, Country, PostalCode, Person, Address import random +from .environment import Base +from .environment import Session +from .model import Address +from .model import City +from .model import Country +from .model import Person +from .model import PostalCode + def install(): Base.metadata.create_all(Session().bind) |
