Ejemplo n.º 1
0
def main(request):
    graph = Spreads()
    if request.method == 'GET': 
        return graph.view_spread(request)
    elif request.method == 'POST': 
        return graph.create_spread(request)
Ejemplo n.º 2
0
def init_spread(request):
    spread = Spreads()
    if request.method == 'GET':
        return spread.start_spreadapp(request)