Add New form helper to Page object
authorSimo Sorce <simo@redhat.com>
Mon, 21 Apr 2014 01:41:24 +0000 (21:41 -0400)
committerSimo Sorce <simo@redhat.com>
Mon, 21 Apr 2014 02:02:19 +0000 (22:02 -0400)
commit37ef4b972ea240f085e7d29923aba70787ac1668
treeee8a749a79206b7f4320ff1a4938be365cfad711
parente130459dce32d7d7543089d931b1fb3a15b3ba83
Add New form helper to Page object

This removes the need to define a root funciton only to redirect to
a GET/POST one.
Also adds basic CSRF protection if the page is declared a form.

Signed-off-by: Simo Sorce <simo@redhat.com>
ipsilon/util/page.py