def person(request, pk):
 person = get_object_or_404(Person, pk=pk)
 return HttpResponse(('Person: %s' % person))

def person ( request , pk ) : person = get_object_or_404 ( Person , pk = pk ) return HttpResponse ( ( 'Person: %s' % person ) )
person controller for addpersonwidget .