django/django — pull request #299 by collinanderson (2012-08-23 02:39:45+00:00)
Title: avoid unnecessary query for on_delete=DO_NOTHING

When deleting objects in the admin, there is no need to run queries on related ForeignKey(on_delete=models.DO_NOTHING).