Add dump of HTTP request to form demo page.
This commit is contained in:
parent
0e7103a5f8
commit
f31d493e36
|
@ -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>
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue