pluserable.configuration module
At startup pluserable validates its configuration settings.
-
class pluserable.configuration.DomainsSchema(*args, **kw)[source]
Bases: colander.SchemaNode
Colander schema that validates a list of domain names.
-
schema_type
alias of colander.String
-
validator(node, val)[source]
Colander validator for a domain name.
-
class pluserable.configuration.PluserableConfigSchema(*args, **kw)[source]
Bases: colander.Schema
Colander validation schema for the entire configuration dictionary.
When using a INI configuration file, these settings are placed in
the [pluserable]
section.
-
pluserable.configuration.validate_pluserable_config(adict)[source]
Validate pluserable settings and return a clean dictionary.