@handle_response_format
@treeio_login_required
@module_admin_required()
def perspective_view(request, perspective_id, response_format='html'):
    perspective = get_object_or_404(Perspective, pk=perspective_id)

    all_modules = Module.objects.all()

    message = request.session.pop('message', '')

    return render_to_response('core/administration/perspective_view',
                              {'perspective': perspective,
                               'all_modules': all_modules,
                               'message': message},
                              context_instance=RequestContext(request), response_format=response_format)
Perspective view
dataset/ETHPy150Open treeio/treeio/treeio/core/administration/views.py/perspective_view