예제 #1
0
def show_person(request, key):
    return object_detail(request, Person.all(), key)
예제 #2
0
def list_people(request):
    return object_list(request, Person.all(), paginate_by=10)