Skip to content

Commit

Permalink
Fixed Sphinx build warnings.
Browse files Browse the repository at this point in the history
Closes #1463.
  • Loading branch information
carltongibson committed Jul 15, 2020
1 parent 911a456 commit fa318e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/one-to-two.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ storing it on ``self`` inside a consumer.
HTTP sessions and Django auth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

All :doc:`authentication </topics/authentication>` and
:doc:`sessions </topics/session>` are now done with middleware. You can remove
any decorators that handled them, like ``http_session``, ``channel_session_user``
and so on (in fact, there are no decorators in Channels 2 - it's all middleware).
All :doc:`authentication <topics/authentication>` and :doc:`sessions
<topics/sessions>` are now done with middleware. You can remove any decorators
that handled them, like ``http_session``, ``channel_session_user`` and so on
(in fact, there are no decorators in Channels 2 - it's all middleware).

To get auth now, wrap your URLRouter in an ``AuthMiddlewareStack``:

Expand Down
4 changes: 2 additions & 2 deletions docs/topics/channel_layers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You can get the default channel layer from a project with
is automatically provided for you on the consumer as ``self.channel_layer``.

Redis Channel Layer
**********************
*******************

`channels_redis`_ is the only official Django-maintained channel layer
supported for production use. The layer uses Redis as its backing store,
Expand All @@ -62,7 +62,7 @@ In this example, Redis is running on localhost (127.0.0.1) port 6379:
}
In-Memory Channel Layer
**********************
***********************

.. warning::

Expand Down

0 comments on commit fa318e6

Please sign in to comment.