This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
cg14-osc/home:entrouvert:cg14-tests/wcs/wcs-log-post-form.patch

15 lines
435 B
Diff

diff --git a/wcs/forms/root.py b/wcs/forms/root.py
index e1215ea..346d33f 100644
--- a/wcs/forms/root.py
+++ b/wcs/forms/root.py
@@ -316,6 +316,9 @@ class FormPage(Directory):
session = get_session()
+ if get_request().get_method() == 'POST':
+ get_logger().debug('POST data: %r', get_request().form)
+
existing_formdata = None
if editing:
existing_formdata = editing.data