Django

Code

Ticket #1489 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

[magic-removal][patch] Deleting objects with one-to-one relations broken in admin

Reported by: Christopher Lenz <cmlenz@gmx.de> Assigned to: adrian
Milestone: Component: django.contrib.admin
Version: magic-removal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Due to it trying obj.get_${accessor-name} instead of just obj.${accessor_name}

Attachments

django_1489.diff (0.6 kB) - added by Christopher Lenz <cmlenz@gmx.de> on 03/10/06 05:47:04.
Fix deletion of objects with one-to-one relations
django_1489.2.diff (0.6 kB) - added by Christopher Lenz <cmlenz@gmx.de> on 03/13/06 07:28:37.
Corrected patch

Change History

03/10/06 05:47:04 changed by Christopher Lenz <cmlenz@gmx.de>

  • attachment django_1489.diff added.

Fix deletion of objects with one-to-one relations

03/10/06 18:10:24 changed by anonymous

  • summary changed from [patch] Deleting objects with one-to-one relations broken in admin to [magic-removal][patch] Deleting objects with one-to-one relations broken in admin.

03/13/06 07:28:37 changed by Christopher Lenz <cmlenz@gmx.de>

  • attachment django_1489.2.diff added.

Corrected patch

03/13/06 07:29:16 changed by Christopher Lenz <cmlenz@gmx.de>

There was a stupid mistake in the first patch (trying to call the one-to-one accessor), which is now fixed.

03/20/06 11:56:37 changed by jacob

  • status changed from new to closed.
  • resolution set to fixed.

(In [2538]) magic-removal: fixed #1489 - objects with 1-to-1 relations may be deleted in the admin (thanks, Christopher Lenz)


Add/Change #1489 ([magic-removal][patch] Deleting objects with one-to-one relations broken in admin)




Change Properties
Action