@handle_response_format
@treeio_login_required
def contact_add(request, response_format='html'):
 types = Object.filter_by_request(request, ContactType.objects.order_by('name'))
 return render_to_response('identities/contact_add', {'types': types}, context_instance=RequestContext(request), response_format=response_format)

@ handle_response_format @ treeio_login_required def contact_add ( request , response_format = 'html' ) : types = Object . filter_by_request ( request , ContactType . objects . order_by ( 'name' ) ) return render_to_response ( 'identities/contact_add' , { 'types' : types } , context_instance = RequestContext ( request ) , response_format = response_format )
contact add .