Profile objects can't be deleted anyway. Remove the bulk "Delete selected profiles" action from the admin.
http://people.mozilla.org/~mverdi/screenshots/delete-20111108-120047.jpg < This is what I mean.
hey can I do this ?
Assignee: james → michaljev
Status: NEW → ASSIGNED
Whiteboard: u=user c=admin p=0 s=2013.backlog [mentor=r1cky]
Whiteboard: u=user c=admin p=0 s=2013.backlog [mentor=r1cky] → u=sumo-team c=admin p=0 s=2013.backlog [mentor=r1cky]
It is little tricky I tried adding actions in admin class but it didnt help, adding admin.site.disable_action('delete_selected') removes it from everywhere and again using actions or admin.site.add_action doesnt help.
r1cky any ideas ? :(
(In reply to Michał Frontczak :fxa90id from comment #5) > r1cky any ideas ? :( Look here: https://docs.djangoproject.com/en/dev/ref/contrib/admin/actions/#conditionally-enabling-or-disabling-actions :)
tried this too :<
Hey Michal, did you make any progress on this? Berker beat you to a pull request: https://github.com/mozilla/kitsune/pull/1573
Assignee: michaljev → berker.peksag
Priority: -- → P4
Whiteboard: u=sumo-team c=admin p=0 s=2013.backlog [mentor=r1cky] → u=sumo-team c=admin p=0 s=2013.16 [mentor=r1cky]
Target Milestone: --- → 2013Q3
Deployed to prod now. Thanks all!
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.