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

Misc backend tasks #238

Open
1 of 9 tasks
JasonLovesDoggo opened this issue Dec 10, 2023 · 1 comment
Open
1 of 9 tasks

Misc backend tasks #238

JasonLovesDoggo opened this issue Dec 10, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers p4 An issue that should be addressed eventually.

Comments

@JasonLovesDoggo
Copy link
Member

JasonLovesDoggo commented Dec 10, 2023

@JasonLovesDoggo JasonLovesDoggo added enhancement New feature or request good first issue Good for newcomers p4 An issue that should be addressed eventually. labels Dec 10, 2023
@JasonLovesDoggo
Copy link
Member Author

JasonLovesDoggo commented Jan 6, 2024

class NoBatchDeleteMixin(object):
    def get_actions(self, request):
        actions = super(NoBatchDeleteMixin, self).get_actions(request)
        if 'delete_selected' in actions:
            del actions['delete_selected']
        return actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers p4 An issue that should be addressed eventually.
Projects
None yet
Development

No branches or pull requests

1 participant