3. Settings¶
3.1. Django settings¶
The following are default Django settings which are important for LFC.
EMAIL_HOST
The host to use for sending e-mail.
EMAIL_HOST_USER
Username to use for the SMTP server defined in EMAIL_HOST. If empty, Django won’t attempt authentication.
EMAIL_HOST_PASSWORD
Password to use for the SMTP server defined in EMAIL_HOST. This setting is used in conjunction with EMAIL_HOST_USER when authenticating to the SMTP server. If either of these settings is empty, Django won’t attempt authentication.
LANGUAGE_CODE
This defines the default language for LFC, e.g.:
LANGUAGE_CODE = 'en'
LANGUAGES
This defines all available languages within LFC, the format is:
LANGUAGES = ( ("en", _(u"English")), ("de", _(u"German")), )
3.2. LFC settings¶
LFC_MANAGE_WORKFLOWS
If True the management screens for workflows are displayed within LFC’s management interface.
LFC_MANAGE_PERMISSIONS
If True the management screens for permissions are displayed within LFC’s management interface.
LFC_MANAGE_APPLICATIONS
If True the management screens for applications are displayed within LFC’s management interface.
LFC_MANAGE_USERS
If True the management screens for users are displayed within LFC’s management interface.
3.3. LFC THEME settings¶
LFC_THEME_WIDTH_SLOT_LEFT, LFC_THEME_WIDTH_SLOT_RIGHT
Changes the width of the left and right slot. Default is 5 units for each slot.
Note
The lfc-theme is based on a CSS grid (http://www.blueprintcss.org). The total width of the grid is 24 units. Based on these settings, the width of the content is calculated automatically.