12 lines
374 B
Python
12 lines
374 B
Python
from django.views.generic import TemplateView
|
|
|
|
from backoffice.mixins import BackofficeAccessMixin
|
|
|
|
|
|
class WebSocketDemoView(BackofficeAccessMixin, TemplateView):
|
|
"""Verifica el cableado de Channels + htmx (ver EchoConsumer). No es una
|
|
funcionalidad real, solo la base para construir encima."""
|
|
|
|
template_name = 'backoffice/ws_demo.html'
|
|
section = 'ws_demo'
|