views.py 193 Bytes
Newer Older
1
2
from django.shortcuts import render

3
4
from . import models

5
6

def index(request):
7
8
    members = models.Member.objects.all()
    return render(request, 'members/index.html', {'members': members})