#1172 closed defect (fixed)
[magic-removal] Datetime fields in admin interface shouldn't be cleared for validation errors
Reported by: | Adrian Holovaty | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | contrib.admin | Version: | magic-removal |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If a datetime field in the admin interface has invalid input, such as "foo", the magic-removal admin currently resets the form field to an empty value. It should redisplay the bad input.
Note:
See TracTickets
for help on using tickets.
(In [2446]) magic-removal: Fixed #1172, Datetime fields in admin interface shouldn't be cleared for validation errors.
Simply return the bad data.