From a1a1ace23da668761cbaeccc4830f8dd36227aca Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 26 Jan 2017 10:44:08 -0800 Subject: [PATCH] Remove slight ordering from generics docs --- channels/generic/websockets.py | 1 - docs/generics.rst | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) 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): """