MCPcopy
hub / github.com/django/django / MessageForm

Class MessageForm

tests/forms_tests/tests/test_forms.py:1285–1286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1283
1284 # DateTimeField rendered as_hidden() is special too
1285 class MessageForm(Form):
1286 when = SplitDateTimeField()
1287
1288 f = MessageForm({"when_0": "1992-01-01", "when_1": "01:01"})
1289 self.assertTrue(f.is_valid())

Callers 1

test_hidden_dataMethod · 0.85

Calls 1

SplitDateTimeFieldClass · 0.90

Tested by 1

test_hidden_dataMethod · 0.68