mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Fix text format for MultiValueField usage (#494)
This commit is contained in:
parent
7b59c64635
commit
4d7b904cd2
1 changed files with 2 additions and 3 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue