From 4d7b904cd2415e59f30f412ffbca1e6ef9fbdba6 Mon Sep 17 00:00:00 2001 From: Yuekui Date: Fri, 5 Aug 2022 07:36:29 -0700 Subject: [PATCH] Fix text format for `MultiValueField` usage (#494) --- docs/index.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index eaca266..13f4cb1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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'),