Redis connection with Django

How can I connect the redis server with external link in my django project ?

Hey,

Connecting a Redis database hosted on Render to your Django project is straightforward. Just note that, if your Django project is also on Render and in the same region as your Redis database, it’s advisable to use the internal connection method.

Typically, you’d need the ‘django-redis’ package. After that, update your settings.py to incorporate Redis configurations and input the credentials.

For a deeper dive, check out https://realpython.com/caching-in-django-with-redis/.

Jérémy.
Render Support, UTC+3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.