Skip to content

Instantly share code, notes, and snippets.

@mmtechslv
Created April 7, 2021 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmtechslv/f419fce1c4f52eca9216b0c50a8aa694 to your computer and use it in GitHub Desktop.
Save mmtechslv/f419fce1c4f52eca9216b0c50a8aa694 to your computer and use it in GitHub Desktop.
Markdium-Introduction
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