Fix text format for MultiValueField usage (#494)

This commit is contained in:
Yuekui 2022-08-05 07:36:29 -07:00 committed by GitHub
parent 7b59c64635
commit 4d7b904cd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,9 +341,8 @@ Setting an invalid date will fail as follow::
CommandError: Enter a valid date.
.. note:: If the admin field is a `MultiValueField`,
(e.g. a datetime using `SplitDateTimeField`)
then the separate field values need to be provided as separate arguments.
.. note:: If the admin field is a `MultiValueField`, then the separate field values need to be provided as separate arguments.
E.g., a datetime using `SplitDateTimeField`::
CONSTANCE_CONFIG = {
'DATETIME_VALUE': (datetime(2010, 8, 23, 11, 29, 24), 'time of the first commit'),