Пример #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)