kopia lustrzana https://github.com/wagtail/wagtail
Documented the settings variable for WAGTAIL_USAGE_COUNT_ENABLED (#2706)
rodzic
f6706977bd
commit
06bfa43782
|
@ -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
|
||||
~~~~~~~~~~~~
|
||||
|
|
Ładowanie…
Reference in New Issue