annotate libervia/pages/forums/topics/new/_browser/__init__.py @ 1479:095e94ca6728

pages: disable CSRF token check when service profile is used: CSRF token check doesn't make sense when no user is logged in, and it causes trouble for caching. fix 400
author Goffi <goffi@goffi.org>
date Fri, 22 Oct 2021 16:04:23 +0200
parents 69ba6b2ba949
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1424
69ba6b2ba949 pages (forums/topics): new page to edit a topic using blog editor
Goffi <goffi@goffi.org>
parents:
diff changeset
1 import editor
69ba6b2ba949 pages (forums/topics): new page to edit a topic using blog editor
Goffi <goffi@goffi.org>
parents:
diff changeset
2
69ba6b2ba949 pages (forums/topics): new page to edit a topic using blog editor
Goffi <goffi@goffi.org>
parents:
diff changeset
3
69ba6b2ba949 pages (forums/topics): new page to edit a topic using blog editor
Goffi <goffi@goffi.org>
parents:
diff changeset
4 editor.set_form_autosave("forum_topic_edit")
69ba6b2ba949 pages (forums/topics): new page to edit a topic using blog editor
Goffi <goffi@goffi.org>
parents:
diff changeset
5 editor.BlogEditor("forum_topic_edit")