[Migration] don't migrate episodes with invalid IDs
[mygpo.git] / mygpo / shell.py
blob70a5f6fdd35aa432bc9fba85a66c6e284bda6591
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.podcasts.models import *
12 from mygpo.users.models import *
13 from mygpo.directory.models import *
14 from mygpo.share.models import *
16 from mygpo.db.couchdb import get_main_database
18 db = get_main_database()
20 from django.core.cache import cache