diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2013-10-30 21:14:23 +0200 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2013-10-30 22:40:15 +0200 |
| commit | efb0100ee67931329f17bc9988ecd5f0619cea14 (patch) | |
| tree | f9c1a80c4ff0c9f2e0fd01d7354f7dbfbfd0abbc /tests/admin_scripts | |
| parent | 8faaf03b86030f242e35aebd56d9b969c53e7be9 (diff) | |
Fixed #14877 -- repeated deletion using formsets
When a formset contained deletion for an existing instance, and the
instance was already deleted, django threw an exception. A common cause for
this was resubmit of the formset.
Original patch by Trac alias olau.
In addition this commit cleaned some code in _construct_form(). This
was needed as the primary key value the user submitted wasn't converted
correctly to python value in case the primary key field was also a
related field.
Diffstat (limited to 'tests/admin_scripts')
0 files changed, 0 insertions, 0 deletions
