-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,38 @@ | ||
.. _locking-versions: | ||
|
||
**************** | ||
Locking versions | ||
**************** | ||
================ | ||
|
||
Explanation | ||
----------- | ||
The lock versions setting is intended to modify the way djangocms-versioning works in the following way: | ||
|
||
The lock versions setting is intended to modify the way djangocms-versioning works in | ||
the following way: | ||
|
||
- A version is **locked to its author** when a draft is created. | ||
- The lock prevents editing of the draft by anyone other than the author. | ||
- That version becomes automatically unlocked again once it is published. | ||
- Locks can be removed by a user with the correct permission (``delete_versionlock``) | ||
- Unlocking an item sends an email notification to the author to which it was locked. | ||
- Manually unlocking a version does not lock it to the unlocking user, nor does it change the author. | ||
- The Version admin view for each versioned content-type shows lock icons and offers unlock actions | ||
- Manually unlocking a version does not lock it to the unlocking user, nor does it | ||
change the author. | ||
- The Version admin view for each versioned content-type shows lock icons and offers | ||
unlock actions | ||
|
||
Activation | ||
---------- | ||
In your project's ``settings.py`` add:: | ||
|
||
DJANGOCMS_VERSIONING_LOCK_VERSIONS = True | ||
In your project's ``settings.py`` add: | ||
|
||
.. code-block:: | ||
DJANGOCMS_VERSIONING_LOCK_VERSIONS = True | ||
Email notifications | ||
------------------------ | ||
Configure email notifications to fail silently by setting:: | ||
------------------- | ||
|
||
Configure email notifications to fail silently by setting: | ||
|
||
.. code-block:: | ||
EMAIL_NOTIFICATIONS_FAIL_SILENTLY = True |