This is an example of configuration for Django to use Redis with Sentinel for high availability and failover that worked for me, adjust it to your needs.
Below is my understanding of how Django interacts with Sentinel and Redis:
{ | |
"basics": { | |
"name": "Pierre-François", | |
"picture": "https://avataaar.welovedevs.com/png/?accessoriesType=Blank&eyeType=Default&eyebrowType=DefaultNatural&facialHairType=Blank&hairColor=BrownDark&mouthType=Smile&skinColor=Light&topType=ShortHairShortWaved&clotheType=GraphicShirt&clotheColor=W3D&graphicType=W3DLogo", | |
"title": "Développeur Python", | |
"summary": "Pilote de ligne (Boeing) en reconversion professionnelle.", | |
"location": { "locationCountryCode": "TH", "city": "Bangkok" }, | |
"profiles": [ | |
{ | |
"id": "a1a668b1-1933-491f-98e3-3495af3d5819", |