SettingsΒΆ

Default settings for FeinCMS

All of these can be overridden by specifying them in the standard settings.py file.

feincms.default_settings.FEINCMS_ADMIN_MEDIA

Path to FeinCMS’ admin media

feincms.default_settings.FEINCMS_ADMIN_MEDIA_HOTLINKING

Link to google APIs instead of using local copy of JS libraries

feincms.default_settings.FEINCMS_ALLOW_EXTRA_PATH

Allow random gunk after a valid page?

feincms.default_settings.FEINCMS_FRONTEND_EDITING

Show frontend-editing button?

feincms.default_settings.FEINCMS_JQUERY_NO_CONFLICT

avoid jQuery conflicts – scripts should use feincms.jQuery instead of $

feincms.default_settings.FEINCMS_MEDIALIBRARY_UPLOAD_TO

Local path to newly uploaded media files

feincms.default_settings.FEINCMS_RUN_TESTS

Set to True if you want to run the FeinCMS test suite unconditionally:

feincms.default_settings.FEINCMS_TIDY_ALLOW_WARNINGS_OVERRIDE

If True, users will be allowed to ignore HTML warnings (errors are always blocked):

feincms.default_settings.FEINCMS_TIDY_FUNCTION

Name of the tidy function - anything which takes (html) and returns (html, errors, warnings) can be used:

feincms.default_settings.FEINCMS_TIDY_HTML

If True, HTML will be run through a tidy function before saving:

feincms.default_settings.FEINCMS_TIDY_SHOW_WARNINGS

If True, displays form validation errors so the user can see how their HTML has been changed:

feincms.default_settings.FEINCMS_TRANSLATION_POLICY
How to switch languages.
STANDARD = the page a user navigates to sets the site’s language and overwrites
whatever was set before
EXPLICIT = the language set has priority, may only be overridden by explicitely
setting a language with ?set_language=xx
feincms.default_settings.FEINCMS_TREE_EDITOR_INCLUDE_ANCESTORS

Include ancestors in filtered tree editor lists

feincms.default_settings.FEINCMS_TREE_EDITOR_OBJECT_PERMISSIONS

Enable checking of object level permissions. Note that if this option is enabled, you must plug in an authentication backend that actually does implement object level permissions or no page will be editable.

feincms.default_settings.FEINCMS_USE_CACHE

Enable caching intermediate results in feincms. Be aware that this might deliver slightly out of date pages if you are not using the ‘changedate’ page extension.

Previous topic

Contrib

Next topic

Shortcuts

This Page