@treeio_login_required
@module_admin_required()
def setup(request, response_format='html'):

    modules = Module.objects.all()

    for module in modules:
        if module.name in ('treeio.projects', 'treeio.sales', 'treeio.services'):
            module.major = True
        else:
            module.major = False

    context = {'modules': modules}

    return render_to_response('core/administration/setup', context,
                              context_instance=RequestContext(request), response_format=response_format)


#
# Settings
#
Quick set-up page
dataset/ETHPy150Open treeio/treeio/treeio/core/administration/views.py/setup