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

Add admin actions to AuthUserAdmin to help with #104 #171

Merged
merged 3 commits into from
Apr 3, 2022

Conversation

2ynn
Copy link
Collaborator

@2ynn 2ynn commented Apr 3, 2022

Needed on dev server to partially address #104

in http://localhost:8000/admin/member/authuser/ :

  • used decorators for custom list_display fields
  • added bulk-remove superuser status admin action
  • added bulk-remove staff status admin action
  • added bulk-add staff status admin action
  • changed is_admin filter (checks for admin group, not superuser)

@2ynn 2ynn marked this pull request as draft April 3, 2022 18:00
@2ynn 2ynn force-pushed the Fix-104-Bulk_remove_superusers branch from 88dece1 to 7d3023b Compare April 3, 2022 18:02
@2ynn 2ynn marked this pull request as ready for review April 3, 2022 18:03
@2ynn 2ynn force-pushed the Fix-104-Bulk_remove_superusers branch from 7d3023b to bfe4fd3 Compare April 3, 2022 18:16
@2ynn 2ynn requested a review from tristanlatr April 3, 2022 18:24
@2ynn 2ynn force-pushed the Fix-104-Bulk_remove_superusers branch 2 times, most recently from d8285da to e367be4 Compare April 3, 2022 18:36
Copy link
Collaborator

@tristanlatr tristanlatr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks a lot @2ynn

@2ynn 2ynn merged commit d876324 into develop Apr 3, 2022
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

Successfully merging this pull request may close these issues.

2 participants