On Django 1.3 and Grappelli 2.3 (r1449)
A nice feature to protected fk relation delation was added in Django 1.3:
Doc:
https://docs.djangoproject.com/en/1.3/ref/models/fields/#django.db.models.Foreig
nKey.on_delete
The admin templates were updated to handle the protected feature, see Ticket:
https://code.djangoproject.com/ticket/14672
The 2 interesting changes are:
https://code.djangoproject.com/changeset/15249#file2 and
https://code.djangoproject.com/changeset/15249#file3
Those 2 templates were not impacted in Grappelli.
I'm joining the 2 updated Grappelli templates that I'm using to handle the new
feature ;)
Original issue reported on code.google.com by thomas.d...@gmail.com on 27 Jun 2011 at 10:43
Original issue reported on code.google.com by
thomas.d...@gmail.com
on 27 Jun 2011 at 10:43Attachments: