Ejemplo n.º 1
0
Archivo: views.py Proyecto: tapia/osweb
def company_view(request):
    context_dict = {}
    projects = ManageProject.get_projects()
    context_dict['projects'] = projects
    context_dict['tab_company'] = True
    return render_to_response('main/company.html', context_dict, context_instance=RequestContext(request))
Ejemplo n.º 2
0
def projects_view(request):
    context_dict = {}
    context_dict['tab_projects'] = True
    projects = ManageProject.get_projects()
    context_dict['projects'] = projects
    return render_to_response('projects/projects.html', context_dict, context_instance=RequestContext(request))