From 001f49cf23fd560da7e643cf8ef40d2b3503afc7 Mon Sep 17 00:00:00 2001
From: Lukas2019 <43601181+Lukas2019@users.noreply.github.com>
Date: Tue, 3 Sep 2024 15:35:51 +0200
Subject: [PATCH] Update part_1.rst

---
 docs/tutorial/part_1.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/tutorial/part_1.rst b/docs/tutorial/part_1.rst
index 327ae68bc..c23fd8a7f 100644
--- a/docs/tutorial/part_1.rst
+++ b/docs/tutorial/part_1.rst
@@ -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
 ---------------------