You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
511 B

from django.urls import path, include
from . import views
from . import consumers
urlpatterns = [
# /skel/ sends to the index page (see views.py to see what index does...
# make sure name="skel" matches the name in lamegames/settings.py
path("", views.index, name="skel"),
]
websocket_urlpatterns = [
# any websocket connection attempting connection at /skel/ will be dealt with by the SkelConsumer object; see more info in consumers.py
path("skel/", consumers.SkelConsumer.as_asgi()),
]