@treeio_login_required
@handle_response_format
@_process_mass_form
def field_view(request, field_id, response_format='html'):
 field = get_object_or_404(ItemField, pk=field_id)
 if (not request.user.profile.has_permission(field)):
  return user_denied(request, message="You don't have access to this Field Type", response_format=response_format)
 context = _get_default_context(request)
 context.update({'field': field})
 return render_to_response('infrastructure/field_view', context, context_instance=RequestContext(request), response_format=response_format)

@ treeio_login_required @ handle_response_format @ _process_mass_form def field_view ( request , field_id , response_format = 'html' ) : field = get_object_or_404 ( ItemField , pk = field_id ) if ( not request . user . profile . has_permission ( field ) ) : return user_denied ( request , message = "You don't have access to this Field Type" , response_format = response_format ) context = _get_default_context ( request ) context . update ( { 'field' : field } ) return render_to_response ( 'infrastructure/field_view' , context , context_instance = RequestContext ( request ) , response_format = response_format )
itemfield view .