Import MigrationManager from mongo in mongo backend.
Inside the mongo db backend, use the mongo MigrationManager. This is hopefully the last reference to the generic MigrationManager reference on db.util.
This commit is contained in:
parent
9c196287ad
commit
6a59a8abd4
@ -18,7 +18,7 @@ import pymongo
|
||||
import mongokit
|
||||
from paste.deploy.converters import asint
|
||||
from mediagoblin.db.mongo import models
|
||||
from mediagoblin.db.util import MigrationManager
|
||||
from mediagoblin.db.mongo.util import MigrationManager
|
||||
|
||||
|
||||
def connect_database_from_config(app_config, use_pymongo=False):
|
||||
|
@ -14,5 +14,5 @@
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from mediagoblin.db.mongo.util import (MigrationManager, ObjectId, InvalidId,
|
||||
from mediagoblin.db.mongo.util import (ObjectId, InvalidId,
|
||||
DESCENDING)
|
||||
|
Loading…
x
Reference in New Issue
Block a user