2 # This file collects imports that can be useful when doing maintenance stuff
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
.db
.couchdb
import get_main_database
18 db
= get_main_database()
20 from django
.core
.cache
import cache