Пример #1
0
def hosts(request):
    # host is a list
    hosts = Host.get_all()
    return render_to_response("hosts.html", {"hosts":hosts, "breadcrumb": [{"name": "Hosts"}]})