deadlock
deadlock

Reputation: 7310

How can one connect Django-Timeline to a Redis Backend?

Currently I am following this GitHub project called Django-Timeline to build an activity feed: https://github.com/tiltshift/django-timeline

My question is how can I connect Django-Timeline to a backend like Redis? I've added 'timeline' to my installed apps section. Do I need to change anything else in my settings.py to connect it or does it automatically connect to Redis?

Mind you, my Django app and Redis are one the same Amazon EC2 machine.

Thank You

Upvotes: 1

Views: 376

Answers (1)

acjay
acjay

Reputation: 36551

Have you tried using Django for a typical relational database before? If not, you might want to try that first, because Django does not have support built-in to use Redis, or any other non-relational DB, as a backend. You can get that support using add-on apps like django-nonrel with a Redis backend.

Upvotes: 1

Related Questions