Skip to content

Incompatible with custom user model #1

@DgRosa

Description

@DgRosa

Hi,

I'm testing your package on a personal project and I got the following exception when running the migrations.

Image

I dig a little bit in the codebase and discovered the root of the problem, in the file models file you are importing the User model directly from django.contrib.auth.models import Group, User, where you should use get_user_model to select the set User model. You can know more about in the official docs.

Let me know if you need help.

Thank you for contribution.

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