Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 193 Bytes
from django.shortcuts import render
from profiles.models import Profile
def index(request):
profiles = Profile.objects.all()
return render(request, 'index.html', {'people': profiles})