Add initial support for CSRF token protection

This commit is contained in:
Lance Edgar 2016-12-14 15:41:15 -06:00
parent 11e78adaab
commit ab09314ed3
8 changed files with 61 additions and 6 deletions

View file

@ -28,7 +28,7 @@ from __future__ import unicode_literals, absolute_import
from formencode import Schema
from .core import Form, Field, FieldSet, GenericFieldSet
from .core import Form, Field, FieldSet, GenericFieldSet, invalid_csrf_token
from .simpleform import SimpleForm, FormRenderer
from .alchemy import AlchemyForm
from .fields import AssociationProxyField