@treeio_login_required
@handle_response_format
def item_add(request, response_format='html'):
 context = _get_default_context(request)
 return render_to_response('infrastructure/item_add', context, context_instance=RequestContext(request), response_format=response_format)

@ treeio_login_required @ handle_response_format def item_add ( request , response_format = 'html' ) : context = _get_default_context ( request ) return render_to_response ( 'infrastructure/item_add' , context , context_instance = RequestContext ( request ) , response_format = response_format )
add new knowledge item .