diff options
Diffstat (limited to 'pyramid/interfaces.py')
| -rw-r--r-- | pyramid/interfaces.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py index b252d0f4a..c1ddea63f 100644 --- a/pyramid/interfaces.py +++ b/pyramid/interfaces.py @@ -925,6 +925,7 @@ class IDefaultCSRFOptions(Interface): token = Attribute('The key to be matched in the body of the request.') header = Attribute('The header to be matched with the CSRF token.') safe_methods = Attribute('A set of safe methods that skip CSRF checks.') + callback = Attribute('A callback to disable CSRF checks per-request.') class ISessionFactory(Interface): """ An interface representing a factory which accepts a request object and @@ -1234,6 +1235,7 @@ class IViewDeriverInfo(Interface): 'default values that were not overriden') predicates = Attribute('The list of predicates active on the view') original_view = Attribute('The original view object being wrapped') + exception_only = Attribute('The view will only be invoked for exceptions') class IViewDerivers(Interface): """ Interface for view derivers list """ |
