Add dump of HTTP request to form demo page.

This commit is contained in:
Neil Schemenauer 2017-11-24 11:02:55 -08:00
parent 0e7103a5f8
commit f31d493e36
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@ from quixote.form import Form, StringWidget, PasswordWidget, \
RadiobuttonsWidget, SingleSelectWidget, MultipleSelectWidget, \
CheckboxWidget, FileWidget
from quixote.form.css import BASIC_FORM_CSS
from quixote.util import dump_request
class Topping:
@ -111,6 +112,10 @@ def form_demo():
'</tr>'
"""
</table>
<h2>Request dump:</h2>
"""
dump_request()
"""
</body>
</html>
"""