Skip to content

How to extends django orm mixins #343

@LeonardoGentile

Description

@LeonardoGentile

I'm using django and I need some custom methods to work on the Django User model.
So for example I need a method to get the user by a specified field.

So far I've understood I have to extends the DjangoUserMixin mixin in storage.django_orm but how?

I mean I can subclass the DjangoUserMixin to write my custom methods but then how to tell PSA to use it instead of the default one?

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