randomize "podcasts needing update" in feed-downloader
[mygpo.git] / mygpo / shell.py
blob6ee683a316960f93815116165033ba78023c02ab
2 # This file collects imports that can be useful when doing maintenance stuff
3 # from the shell.
4 # You can then just run
6 # from mygpo.shell import *
8 # to get all relevant classes, and an instantiated db object.
11 from mygpo.core.models import *
12 from mygpo.users.models import *
13 from mygpo.directory.models import *
14 from mygpo.share.models import *
16 from mygpo.couch import get_main_database
18 db = get_main_database()
20 from django.core.cache import cache