Skip to content

Commit

Permalink
Update part_1.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas2019 authored Sep 3, 2024
1 parent 3ea0817 commit 001f49c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/tutorial/part_1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,23 @@ following contents:
urls.py
wsgi.py
Updating your settings
---------------------

We need to add a few lines to ``settings.py`` to let Django know that it should use Daphne.

.. code-block:: python
CHANNEL_LAYERS = {
'default': {
'BACKEND': "channels.layers.InMemoryChannelLayer"
}
}
WSGI_APPLICATION = 'um_be.wsgi.application'
ASGI_APPLICATION = 'um_be.asgi.application'
Creating the Chat app
---------------------

Expand Down

0 comments on commit 001f49c

Please sign in to comment.