--
Ticket URL: <https://code.djangoproject.com/ticket/28283>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
Comment:
I think this is related to this note
[https://docs.djangoproject.com/en/dev/topics/forms/modelforms
/#validation-on-a-modelform in the documentation]:
The cleaning process modifies the model instance passed to the
`ModelForm` constructor in various ways. For instance, any date fields on
the model are converted into actual date objects. Failed validation may
leave the underlying model instance in an inconsistent state and therefore
it’s not recommended to reuse it.
--
Ticket URL: <https://code.djangoproject.com/ticket/28283#comment:1>
Comment (by ddein):
Replying to [comment:1 Tim Graham]:
> I think this is related to this note
[https://docs.djangoproject.com/en/dev/topics/forms/modelforms
/#validation-on-a-modelform in the documentation]:
Alright, I can check my code and not allow this error. But we are talking
about the code that is used in administration and obviously a correction
is needed here.
--
Ticket URL: <https://code.djangoproject.com/ticket/28283#comment:2>
* owner: nobody => ddein
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/28283#comment:3>
* owner: ddein => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/28283#comment:4>