[Python] How to Access URL Params in Django Channels Consumers

Discussão em 'Python' iniciado por Stack, Abril 15, 2025.

  1. Stack

    Stack Membro Participativo

    If i had the following url in routing.py:

    /rooms/<int:id>/


    How would I access the id parameter from withing a JSONWebsocketConsumer?

    Continue reading...

Compartilhe esta Página