summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2013-10-30 21:14:23 +0200
committerAnssi Kääriäinen <akaariai@gmail.com>2013-10-30 22:40:15 +0200
commitefb0100ee67931329f17bc9988ecd5f0619cea14 (patch)
treef9c1a80c4ff0c9f2e0fd01d7354f7dbfbfd0abbc /tests/admin_scripts
parent8faaf03b86030f242e35aebd56d9b969c53e7be9 (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