Open jerrychong25 opened 1 year ago
Hi, looks like you are using the latest version of Django. Please install the daphne server and include it in the installed apps.
pip install daphne
INSTALLED_APPS = [
'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles',
'channels' ,
'daphne'
]
I will also update in the blog. Thank you for pointing it.
Hi @tejmagar ,
Thanks for sharing.
Mind to share what's original versions of django, daphne and channels you using previously when creating this tutorial?
Thank you.
Hi @tejmagar,
Thanks for creating nice articles on https://sagasab.com/blog/simple-django-websocket-tutorial-for-beginners/ as well as uploading full project codes into GitHub.
Do you mind to share full commands on running the Django server app after following your guides?
Tried running with following commands:
Unfortunately my end get empty screen in the browser, as per screenshot below:
Here is full logs:
Hope your end could provide some guidances on this.
Thank you!