mirror of
https://github.com/tanrax/slack-clone-using-HTML-over-the-Wire.git
synced 2026-08-14 17:53:13 +02:00
10 lines
241 B
Python
10 lines
241 B
Python
from django.shortcuts import render
|
|
from django.contrib.auth.models import User
|
|
|
|
|
|
def index(request):
|
|
"""View with chat layout"""
|
|
return render(
|
|
request, "index.html", {"users": User.objects.all().order_by("username")}
|
|
)
|