deliverance.middleware – the theming middleware
Implements the middleware that does the Deliverance transformations.
Module Contents
-
class deliverance.middleware.DeliveranceMiddleware(app, rule_getter, log_factory=<class 'deliverance.log.SavingLogger'>, log_factory_kw={})
- The middleware that implements the Deliverance transformations
-
class deliverance.middleware.SubrequestRuleGetter(url)
- An implementation of rule_getter for DeliveranceMiddleware.
This retrieves and instantiates the rules using a subrequest with
the given url.