Skip to content

Commit

Permalink
removed use of slave_okay option when creating connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Unsworth committed Jun 17, 2015
1 parent 236b152 commit 8bc14d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mongodb/tests.py
Expand Up @@ -3,13 +3,14 @@

from django.core.management import call_command
from django.contrib.sites.models import Site
from django.db import connection
from django.db.utils import DatabaseError, IntegrityError
from django.db.models import Q
from gridfs import GridOut
from pymongo import ASCENDING, DESCENDING
from django_mongodb_engine.base import DatabaseWrapper
from models import *
from pymongo.collection import Collection

from utils import *


Expand Down Expand Up @@ -199,7 +200,6 @@ class foodict(dict):

with self.custom_database_wrapper({
'OPTIONS': {
'SLAVE_OKAY': True,
'TZ_AWARE': True,
'DOCUMENT_CLASS': foodict,
}}) as connection:
Expand Down

0 comments on commit 8bc14d4

Please sign in to comment.