mirror of
https://github.com/fspc/workstand.git
synced 2026-09-16 16:41:38 -04:00
Use channel to dispatch an action to check CPIC.
This commit is contained in:
@@ -33,6 +33,7 @@ INSTALLED_APPS = [
|
||||
'webpack_loader',
|
||||
'compressor',
|
||||
'rest_framework',
|
||||
'channels',
|
||||
|
||||
'registration',
|
||||
'core',
|
||||
@@ -176,3 +177,13 @@ REST_FRAMEWORK = {
|
||||
}
|
||||
|
||||
DATE_INPUT_FORMATS = ['iso-8601']
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
"default": {
|
||||
"BACKEND": "asgi_redis.RedisChannelLayer",
|
||||
"CONFIG": {
|
||||
"hosts": [os.environ.get('REDIS_URL', 'redis://redis:6379')],
|
||||
},
|
||||
"ROUTING": "bike.routing.channel_routing",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user