pass arguments to get_consumer (#147)

This commit is contained in:
Anatol Ulrich 2016-05-09 18:51:51 +02:00 committed by Andrew Godwin
parent 9505906b42
commit 2874350a6a

View File

@ -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")