Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between actions and changelist_actions? #150

Open
odigity opened this issue Jan 13, 2023 · 2 comments
Open

Difference between actions and changelist_actions? #150

odigity opened this issue Jan 13, 2023 · 2 comments

Comments

@odigity
Copy link

odigity commented Jan 13, 2023

I can't figure out what the difference is between adding an action via Django's built-in actions attribute vs the changelist_actions attribute added by django-object-actions. They seem to serve the same purpose with the same result.

@crccheck
Copy link
Owner

you know... I was wondering about change_actions versus changelist_actions myself last month. actions is Django's and controls the built in dropdown in the changelist page, while change_actions and changelist_actions control what buttons appear in the top right on the detail vs changelist pages. The docs could be better... screenshots would be nice

@odigity
Copy link
Author

odigity commented Jan 14, 2023

Ah, ok - so change and changelist_actions both add "actions" to the Changelist page but in different forms and in different locations. In other words, for the Changelist page, DOA is merely offering an alternative UI for the same type of functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants