Documented the settings variable for WAGTAIL_USAGE_COUNT_ENABLED (#2706)

This commit is contained in:
Janneke Janssen 2016-06-13 21:47:27 +02:00 committed by Matt Westcott
parent f6706977bd
commit 06bfa43782

View file

@ -332,6 +332,18 @@ a custom user model is being used and extra fields are required in the user crea
A list of the extra custom fields to be appended to the default list.
Usage for images, documents and snippets
----------------------------------------
.. code-block:: python
WAGTAIL_USAGE_COUNT_ENABLED = True
When enabled Wagtail shows where a particular image, document or snippet is being used on your site (disabled by default). A link will appear on the edit page showing you which pages they have been used on.
.. note::
The usage count only applies to direct (database) references. Using documents, images and snippets within StreamFields or rich text fields will not be taken into account.
URL Patterns
~~~~~~~~~~~~