Package: instance

Full import path: instance

The configuration specific to a certain instance of Orchard.

Module: status_configuration

Configuration of system status items and groups.

Statuses = [<orchard.system_status.status_group.StatusGroup object>, <orchard.system_status.status_group.StatusGroup object>, <orchard.system_status.status_group.StatusGroup object>, <orchard.system_status.status_group.StatusGroup object>, <orchard.system_status.status_group.StatusGroup object>, <orchard.system_status.status_group.StatusGroup object>]

A list of orchard.system_status.status_group.StatusGroup instances, each configured with sub-groups and/or orchard.system_status.status_item.StatusItem instances, that will be displayed on the home page.

Type:List[StatusGroup]

Class: Configuration

class Configuration[source]

Instance specific configurations for Orchard that should not be shared with anyone else (e.g. because of passwords).

You can overwrite any of the values from orchard.configuration in this class.

ADMINS = ['admin@example.com']

A list of email addresses of all administrators who will be notified on program failures.

Type:List[str]
BABEL_DEFAULT_LOCALE = 'en'

The default language if not other could be determined.

Type:str
BABEL_DEFAULT_TIMEZONE = 'UTC'

The default timezone when formatting dates.

Type:str
MAIL_FROM = 'no-reply@example.com'

The address appearing as the sender of all mails.

Type:str
MAIL_PASSWORD = None

The password for the MAIL_USERNAME. If no password is required, this can be set to None.

Type:str | None
MAIL_PORT = 25

The port under which the MAIL_SERVER is accessible.

Type:int
MAIL_SERVER = 'localhost'

An SMTP mail server used for sending all mails.

Type:str | None
MAIL_SSL = False

If set to True, the MAIL_SERVER will be accessed via SSL.

Type:bool
MAIL_USERNAME = None

A user on the MAIL_SERVER. If no user is required to send mails, this can be set to None.

Type:str | None
SECRET_KEY = ''

A long, random, and secret string used to secure sessions.

Type:str