diff --git a/channels/generic/websockets.py b/channels/generic/websockets.py index 555b165..b7a0250 100644 --- a/channels/generic/websockets.py +++ b/channels/generic/websockets.py @@ -25,7 +25,6 @@ class WebsocketConsumer(BaseConsumer): http_user = False # Set to True if you want the class to enforce ordering for you - slight_ordering = False strict_ordering = False groups = None diff --git a/docs/generics.rst b/docs/generics.rst index 9e31233..c604930 100644 --- a/docs/generics.rst +++ b/docs/generics.rst @@ -88,9 +88,8 @@ The basic WebSocket generic consumer is used like this:: # (you don't need channel_session_user, this implies it) http_user = True - # Set to True if you want them, else leave out + # Set to True if you want it, else leave it out strict_ordering = False - slight_ordering = False def connection_groups(self, **kwargs): """ @@ -135,9 +134,8 @@ The JSON-enabled consumer looks slightly different:: class MyConsumer(JsonWebsocketConsumer): - # Set to True if you want them, else leave out + # Set to True if you want it, else leave it out strict_ordering = False - slight_ordering = False def connection_groups(self, **kwargs): """