Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added docs for cms.constants
  • Loading branch information
ojii committed Jan 17, 2013
1 parent fcde60c commit fcd69f9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/extending_cms/api_references.rst
Expand Up @@ -171,6 +171,19 @@ add a text plugin with the content ``'hello world'``. This is done in English::
add_plugin(placeholder, 'TextPlugin', 'en', body='hello world')


*************
cms.constants
*************

.. module:: cms.constants

.. data:: TEMPLATE_INHERITANCE_MAGIC

The token used to identify when a user selects "inherit" as template for a
page.



***************
cms.plugin_base
***************
Expand Down
9 changes: 9 additions & 0 deletions docs/upgrade/2.4.rst
Expand Up @@ -308,6 +308,15 @@ Should be replaced with the new API::
get_cms_setting('PLACEHOLDER_FRONTEND_EDITING')


Added ``cms.constants`` module
==============================

This release adds the ``cms.constants`` module which will hold generic django
CMS constant values. Currently it only contains ``TEMPLATE_INHERITANCE_MAGIC``
which used to live in ``cms.conf.global_settings`` but was moved to the new
``cms.constants`` module in the settings overhaul mentioned above.


******************************
Backwards incompatible changes
******************************
Expand Down

0 comments on commit fcd69f9

Please sign in to comment.