Skip to content

Object won't auto-approve as superuser #222

Open
@silentjay

Description

@silentjay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions