That should be easy to support. In default.py: def user(): if request.args(0): user = request.args(0) ... else: # list ...
def restaurant(): if request.args(0): restaurant = request.args(0) ... else: # list ...
That should be easy to support. In default.py: def user(): if request.args(0): user = request.args(0) ... else: # list ...
def restaurant(): if request.args(0): restaurant = request.args(0) ... else: # list ...