2

I'm working on a project and I need to use Django-channels in it.

I followed this tutorial step by step but it used Redis to make layer (which is not supported in Windows OS) so is it possible to use PostgreSQL instead of Redis for stack data?

sorry for my bad grammar! English is not my native language!

2 Answers 2

6

Yes, you can use PostgreSQL with channels_postgres

It's a drop-in replacement for the official Redis backend

PS: I'm the author :-)

Sign up to request clarification or add additional context in comments.

Comments

1

I don't think you can do that with Postgresql. I would rather suggest you to install Docker for Windows and then running a redis instance. You would run a command similar to this after installing docker properly.

docker run -p 6379:6379 redis:latest

This will run a redis instance inside docker which you will be able to access through the 6379 port.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.