ability to use a Redis connection URI - closes #402

This commit is contained in:
valentinogagliardi
2020-01-12 13:13:41 +01:00
parent 70269e1e43
commit fa1082ff96
2 changed files with 8 additions and 0 deletions

View File

@@ -180,6 +180,12 @@ Connection settings for Redis. Defaults::
}
}
It's also possible to use a Redis connection URI:
Q_CLUSTER = {
'redis': 'redis://h:asdfqwer1234asdf@ec2-111-1-1-1.compute-1.amazonaws.com:111'
}
For more information on these settings please refer to the `Redis-py <https://github.com/andymccurdy/redis-py>`__ documentation
.. _django_redis: