@handle_response_format
@treeio_login_required
@module_admin_required()
def index_modules(request, response_format='html'):
 modules = Module.objects.all().order_by('title')
 return render_to_response('core/administration/index_modules', {'modules': modules}, context_instance=RequestContext(request), response_format=response_format)

@ handle_response_format @ treeio_login_required @ module_admin_required ( ) def index_modules ( request , response_format = 'html' ) : modules = Module . objects . all ( ) . order_by ( 'title' ) return render_to_response ( 'core/administration/index_modules' , { 'modules' : modules } , context_instance = RequestContext ( request ) , response_format = response_format )
return list of all exploits modules .