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

Allow NoneType for ModelAdmin.actions #198

Merged

Conversation

rarredon
Copy link

@rarredon rarredon commented Oct 4, 2023

This commit updates the actions attribute on the ModelAdmin class to allow NoneType. According the Django
docs
this option is used to disable all actions for a ModelAdmin page.

This commit updates the `actions` attribute on the `ModelAdmin` class
to allow NoneType. According the [Django
docs](https://docs.djangoproject.com/en/4.2/ref/contrib/admin/actions/#disabling-all-actions-for-a-particular-modeladmin)
this option is used to disable all actions for particular ModelAdmin
page.
@sbdchd
Copy link
Owner

sbdchd commented Oct 5, 2023

Thank you!!

@kodiakhq kodiakhq bot merged commit 72e4deb into sbdchd:main Oct 5, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants