mirror of
https://github.com/django/daphne.git
synced 2025-04-21 01:02:06 +03:00
pass arguments to get_consumer (#147)
This commit is contained in:
parent
9505906b42
commit
2874350a6a
|
@ -36,7 +36,7 @@ class Command(RunserverCommand):
|
|||
# Check a handler is registered for http reqs; if not, add default one
|
||||
self.channel_layer = channel_layers[DEFAULT_CHANNEL_LAYER]
|
||||
self.channel_layer.router.check_default(
|
||||
http_consumer=self.get_consumer(),
|
||||
http_consumer=self.get_consumer(*args, **options),
|
||||
)
|
||||
# Run checks
|
||||
self.stdout.write("Performing system checks...\n\n")
|
||||
|
|
Loading…
Reference in New Issue
Block a user