Ejemplo n.º 1
0
def links(request):
    identifier = request.matchdict["id"]
    client = Client(identifier)
    return request_context(request, client, {
            'tool': "links",
            'document': client.links()
    })
Ejemplo n.º 2
0
def attachments(request):
    identifier = request.matchdict["id"]
    client = Client(identifier)
    return request_context(request, client, {
            'tool': "attachments",
            'document': client.attachments()
    })
Ejemplo n.º 3
0
def social(request):
    identifier = request.matchdict["id"]
    client = Client(identifier)
    return request_context(request, client, {
            'tool': "social",
            'document': client.social()
    })
Ejemplo n.º 4
0
def description(request):
    identifier = request.matchdict["id"]
    client = Client(identifier)
    return request_context(request, client, {
            'tool': "description",
            'document': client.description()
    })
Ejemplo n.º 5
0
def ypad(request):
    identifier = request.matchdict["id"]
    client = Client(identifier)
    return request_context(request, client, {
            'tool': "ypad",
            'document': client.ypad()
    })