Permalink
Browse files

Disabled delete_selected-action.

The action uses queryset's update(), which doesn't work correctly with
reversion (history is not preserved).
  • Loading branch information...
1 parent c37f28a commit 86d878ffcbe0be1ae915e27d35a1ae48cecf9a97 @anttihirvonen committed Sep 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 dotmembership/apps/members/admin.py
@@ -3,6 +3,8 @@
from .models import Member
+# Global action disable, should be somwhere else..
+admin.site.disable_action('delete_selected')
class MemberAdmin(reversion.VersionAdmin):
list_display = ("full_name", "email", "last_payment_year", "last_payment_status")

0 comments on commit 86d878f

Please sign in to comment.