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?
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
DjangoUserMixinmixin instorage.django_ormbut how?I mean I can subclass the
DjangoUserMixinto write my custom methods but then how to tell PSA to use it instead of the default one?