mirror of
https://github.com/django/daphne.git
synced 2025-07-14 18:02:17 +03:00
Remove slight ordering from generics docs
This commit is contained in:
parent
1d1101f7a9
commit
a1a1ace23d
|
@ -25,7 +25,6 @@ class WebsocketConsumer(BaseConsumer):
|
||||||
http_user = False
|
http_user = False
|
||||||
|
|
||||||
# Set to True if you want the class to enforce ordering for you
|
# Set to True if you want the class to enforce ordering for you
|
||||||
slight_ordering = False
|
|
||||||
strict_ordering = False
|
strict_ordering = False
|
||||||
|
|
||||||
groups = None
|
groups = None
|
||||||
|
|
|
@ -88,9 +88,8 @@ The basic WebSocket generic consumer is used like this::
|
||||||
# (you don't need channel_session_user, this implies it)
|
# (you don't need channel_session_user, this implies it)
|
||||||
http_user = True
|
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
|
strict_ordering = False
|
||||||
slight_ordering = False
|
|
||||||
|
|
||||||
def connection_groups(self, **kwargs):
|
def connection_groups(self, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
@ -135,9 +134,8 @@ The JSON-enabled consumer looks slightly different::
|
||||||
|
|
||||||
class MyConsumer(JsonWebsocketConsumer):
|
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
|
strict_ordering = False
|
||||||
slight_ordering = False
|
|
||||||
|
|
||||||
def connection_groups(self, **kwargs):
|
def connection_groups(self, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user