demo-HTML-over-WebSockets-i.../apps/front/views.py

8 lines
186 B
Python
Raw Normal View History

2021-03-07 18:15:29 +01:00
from django.shortcuts import render
2021-03-10 23:36:26 +01:00
import uuid
2021-03-07 18:15:29 +01:00
2021-03-10 23:36:26 +01:00
def all_articles(request):
return render(request, 'layouts/main.html', {
"CHANNEL": uuid.uuid4().hex[:20].upper()
})