django redis install

Solutions on MaxInterview for django redis install by the best coders in the world

showing results for - "django redis install"
Lara
08 Jun 2019
1django - redis install on windows for ASGI application
2----------------------------------
31. https://github.com/microsoftarchive/redis/releases
42. start the server
5	redis-server #click
63. check the server
7	redis-cli #click
8    >ping	#type
94. at the bottom of setting.py in django project... copy and paste below code
10
11ASGI_APPLICATION = "core.routing.application"
12CHANNEL_LAYERS = {
13    'default': {
14        'BACKEND': 'channels_redis.core.RedisChannelLayer',
15        'CONFIG': {
16           "hosts": [('127.0.0.1', 6379)],# or "redis://'127.0.0.1:6379",
17        },
18    },
19}