A Django settings file doesn’t have to define any djpcms settings if it doesn’t need to. Each setting has a sensible default value. These defaults live in the djpcms/conf/djpcms_defaults.py module.
Here’s a full list of all available settings, in alphabetical order, and their default values.
default: None
The python dotted path to the application urls module. This module is where applications can be registered to the site. If not provided, no dynamic application will be available.
See: Applications
default:
{
'available': True,
'preurl': 'edit-content',
'pagecontent': '/site-content/',
'width': 600,
'height': 400
}
Dictionary of information for inline content editing.
Hint
Check out the inline editing documentation for more information.
default: ['base.html','djpcms/base.html']
A list of template files or a string. Used when no djpcms.models.Page.template is specified.
default: 'djpcms.utils.markups'
Python dotted path to the markup module. This module exposes four functions:
See also
This setting is used in the djpcms.plugins.text.Text plugin.
Default: ['djpcms.plugins.*]
A list of python dotted paths to where plugins are defined.
Hint
Check out the plugins documentation for more information.
default: None
A python dotted path to a styling function which takes request as the only parameter.
Default: 'smooth'
Css style to be included in pages. If you don't want to include any styling from djpcms set the value to None.
Default: 1
If set to 0, no bread crumbs support, otherwise it indicates from which level to start generating bread-crumbs (usually 1 or 2).
Default: True
If set to True (the default), the grid 960 layout is fixed at 960px, otherwise is floating to the whole page. See 960 grid system and fluid 960 grid system
Default: djpcms.ajaxhtml.ajaxhtml()
Instance of djpcms.ajaxhtml.ajaxhtml. It contains a dictionary of css classes which may define particular javascript decorators or simple css styling.
Default: True
Whether static files are served by the server running the Django site (and therefore included in the urls) or not. It should be set to True only during development.