Created
December 14, 2017 17:12
-
-
Save jy95/4289bc5cd04778198c81008986d6debc to your computer and use it in GitHub Desktop.
Django demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Dans oscar/settings.py ; s'assurer que leur worker soit ko | |
# CHANNEL_LAYERS = { | |
# "default": { | |
# "BACKEND": "asgiref.inmemory.ChannelLayer", | |
# "ROUTING": "notification.web_sockets.routing.channel_routing", | |
# }, | |
# } | |
2. Dans templates/base.haml ; commenter le js | |
-# %script{type: "text/javascript", src: "{% static 'js/notification.js' %}"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment