diff --git a/channels/exceptions.py b/channels/exceptions.py index 1827629..502358e 100644 --- a/channels/exceptions.py +++ b/channels/exceptions.py @@ -5,7 +5,7 @@ import six class ConsumeLater(Exception): """ Exception that says that the current message should be re-queued back - onto its channel as it's not ready to be consumd yet (e.g. global order + onto its channel as it's not ready to be consumed yet (e.g. global order is being enforced) """ pass diff --git a/channels/routing.py b/channels/routing.py index 11a5afc..8330537 100644 --- a/channels/routing.py +++ b/channels/routing.py @@ -177,7 +177,7 @@ class Route(object): class RouteClass(Route): """ Like Route, but targets a class-based consumer rather than a functional - one, meaning it looks for a (class) method called "channels()" on the + one, meaning it looks for a (class) method called "channel_names()" on the object rather than having a single channel passed in. """