Skip to content

Custom user model support #15

@radiac

Description

@radiac

The documented CMS_MIGRATION_USER_ID doesn't seem to be in use at the moment. My guess is that it's intended for use in helpers.get_or_create_migration_user, which doesn't currently work with User models that are missing the username field?

Rather than implementing it by user ID, would it be worth having a dict-based setting which can be passed to get_or_create, so for example if my user model has an email-based login, I could set CMS_MIGRATION_USER={"email": "[email protected]"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions