Skip to content

Commit ac0e6d7

Browse files
author
khz
committed
added werkzeug to requirements.txt
1 parent ec50411 commit ac0e6d7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pythononwheels/start/handlers/shorties.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,13 @@ def list(self):
4949

5050
@app.add_route('/werkzeug/<int:year>', dispatch={"get" : "test"})
5151
@app.add_route('/werkzeug/<uuid:identifier>', dispatch={"get" : "testuuid"})
52+
@app.add_route('/werkzeug/<uuid:identifier>.<format>', dispatch={"get" : "testuuid"})
5253
class WerkzeugTestHandler(BaseHandler):
5354
# on HTTP GET this method will be called. See dispatch parameter.
5455
def test(self, year=None):
5556
self.write("I got year: " + str(year))
5657

57-
def testuuid(self, anotherone=None, identifier=None):
58+
def testuuid(self, anotherone=None, identifier=None, format="html"):
5859
self.write("I got uuid: " + str(identifier)
5960
+ "<hr> I got anotherone ? == " + str(anotherone)
6061
)

pythononwheels/start/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ alembic==0.8.8
22
appdirs==1.4.3
33
backports-abc==0.5
44
Cerberus==1.0.1
5+
colorama==0.3.9
56
dicttoxml==1.7.4
67
jsonschema==2.5.1
78
Mako==1.0.7
@@ -22,4 +23,5 @@ SQLAlchemy==1.1.0b3
2223
tinydb==3.2.1
2324
tinydb-serialization==1.0.3
2425
tornado==4.4.1
25-
xmltodict==0.10.2
26+
Werkzeug==0.14.1
27+
xmltodict==0.10.2

0 commit comments

Comments
 (0)