Created
April 7, 2021 15:48
-
-
Save mmtechslv/f419fce1c4f52eca9216b0c50a8aa694 to your computer and use it in GitHub Desktop.
Markdium-Introduction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.shortcuts import render | |
from .models import People | |
def index(request): | |
all_people = People.objects.all() | |
return render(request, 'index.html', {'all_people':all_people}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment