5
5
Settings
6
6
========
7
7
8
- Available settings
9
- ==================
10
-
11
8
Here's a full list of all available settings, in alphabetical order, and their
12
9
default values.
13
10
@@ -69,6 +66,24 @@ while passing into the context the object that is going to be saved (``target``)
69
66
.. seealso :: :ref:`middleware`
70
67
71
68
69
+
70
+ .. setting :: CONCURRENCY_IGNORE_DEFAULT
71
+
72
+ IGNORE_DEFAULT
73
+ --------------
74
+ .. versionadded :: 1.2
75
+
76
+ Default: ``True ``
77
+
78
+ Determines whether a default version number is ignored or used in a concurrency check. While this
79
+ configuration defaults to True for backwards compatibility, this setting can cause omitted version
80
+ numbers to pass concurrency checks. New implementations are recommended to set this to ``False ``.
81
+
82
+ .. note :: For security reasons, starting from version 1.5, default value will be ``False``.
83
+
84
+
85
+
86
+
72
87
.. setting :: CONCURRECY_MANUAL_TRIGGERS
73
88
74
89
MANUAL_TRIGGERS
@@ -82,6 +97,7 @@ If false do not automatically create triggers, you can create them using :ref:`t
82
97
83
98
84
99
100
+
85
101
.. setting :: CONCURRENCY_POLICY
86
102
87
103
POLICY
@@ -94,25 +110,14 @@ Default: ``CONCURRENCY_LIST_EDITABLE_POLICY_SILENT``
94
110
95
111
.. setting :: CONCURRENCY_IGNORE_DEFAULT
96
112
97
- IGNORE_DEFAULT
98
- --------------
99
- .. versionadded :: >1.2
100
-
101
- Default: ``True ``
102
-
103
- Determines whether a default version number is ignored or used in a concurrency check. While this
104
- configuration defaults to True for backwards compatibility, this setting can cause omitted version
105
- numbers to pass concurrency checks. New implementations are recommended to set this to ``False ``.
106
-
107
- .. note :: For security reasons, starting from version 1.5, default value will be ``False``.
108
-
109
113
110
114
``CONCURRENCY_LIST_EDITABLE_POLICY_SILENT ``
111
115
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112
116
Used by admin's integrations to handle ``list_editable `` conflicts.
113
117
Do not save conflicting records, continue and save all non-conflicting records,
114
118
show a message to the user
115
119
120
+
116
121
``CONCURRENCY_LIST_EDITABLE_POLICY_ABORT_ALL ``
117
122
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118
123
Used by admin's integations to handle ``list_editable ``.
0 commit comments