django-object-actions icon indicating copy to clipboard operation
django-object-actions copied to clipboard

separate url name for changelist_actions

Open predatell opened this issue 4 years ago • 4 comments

For me "Dupe name is fine. https://code.djangoproject.com/ticket/14259" is not working. When I click on the button/link from change list in admin function does not run

predatell avatar Aug 10 '20 08:08 predatell

Can you describe how to replicate the problem? And does it only happen in certain versions of Django? The code looks fine, but I don't quite understand the circumstances where this happens, and I haven't checked the git history for why the "Dupe name is fine" comment is there.

crccheck avatar Aug 10 '20 20:08 crccheck

I have already described how to replicate it: "When I click on the button/link from change list in admin function does not run". I have added action to changelist_actions. Then I tried to run this action from CHANGE LIST in admin. And it does not work! So change_actions works but changelist_actions do NOT work! I have tested it in Django 2.2, 3.0, 3.1

predatell avatar Aug 11 '20 09:08 predatell

Actions from changelist_actions need unique url names

predatell avatar Aug 11 '20 09:08 predatell

what was the name? and can you add a test case to this PR? It'll really speed up how long it'll take to get this merged

crccheck avatar Aug 11 '20 15:08 crccheck