namespaces #3
1 changed files with 1 additions and 0 deletions
1
beer.py
1
beer.py
|
@ -10,6 +10,7 @@ app = Flask(__name__)
|
||||||
|
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
|
@app.route('/<int(min=0, max=23):hours>')
|
||||||
@app.route('/<int(min=0, max=23):hours>/<int(min=0, max=59):minutes>')
|
@app.route('/<int(min=0, max=23):hours>/<int(min=0, max=59):minutes>')
|
||||||
def index(hours=None, minutes=None):
|
def index(hours=None, minutes=None):
|
||||||
""" main and only app """
|
""" main and only app """
|
||||||
|
|
Loading…
Reference in a new issue