diff --git a/django_redis/client/sentinel.py b/django_redis/client/sentinel.py index ba44dbeb..d4f418dc 100644 --- a/django_redis/client/sentinel.py +++ b/django_redis/client/sentinel.py @@ -3,7 +3,7 @@ from django.core.exceptions import ImproperlyConfigured from redis.sentinel import SentinelConnectionPool -from django_redis.default import DefaultClient +from django_redis.client.default import DefaultClient def replace_query(url, query): diff --git a/tests/start_redis.sh b/tests/start_redis.sh index 00bf2b03..9766fc51 100755 --- a/tests/start_redis.sh +++ b/tests/start_redis.sh @@ -47,7 +47,7 @@ docker run \ --health-interval 10s \ --health-retries 5 \ --health-timeout 5s \ - --network host \ --user $(id -u):$(id -g) \ + --publish $PORT:$PORT \ --volume /tmp:/tmp \ --detach redis:latest redis-server "${ARGS[@]}"