Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
kenken999
/
fastapi_django_main_live
like
6
Running
on
Zero
App
Files
Files
Community
c399afb
fastapi_django_main_live
/
routers
/
ai
/
app
/
views.py
kenken999
sd
185f702
7 months ago
raw
Copy download link
history
blame
177 Bytes
from
django.shortcuts
import
render
from
.models
import
User
def
user_list
(
request
):
users = User.query.
all
()
return
render(request,
'user_list.html'
, {
'users'
: users})