'Adds default handlers for Django\'s default handling of channels.'

def check_default(self, http_consumer=None):

    from .handler import ViewConsumer
    self.add_route(Route(u'http.request', (http_consumer or ViewConsumer())))
    self.add_route(Route(u'websocket.connect', connect_consumer))
    self.add_route(Route(u'websocket.receive', null_consumer))
    self.add_route(Route(u'websocket.disconnect', null_consumer))
