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

Object won't auto-approve as superuser #222

Open
silentjay opened this issue Nov 15, 2023 · 0 comments
Open

Object won't auto-approve as superuser #222

silentjay opened this issue Nov 15, 2023 · 0 comments

Comments

@silentjay
Copy link

silentjay commented Nov 15, 2023

Saving an object in the django admin logged in as a superuser was leading to these objects going into the Moderation Objects queue as pending, even with auto_approve_for_superusers = True explicitly.

I fixed this by adding a custom save_model() to the ModelAdmin for the model in question as suggested in the docs, even though I didn't have an existing save_model(). This looks like a possible bug to me, so putting this here just incase someone comes across the same issue.

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

1 participant