Fcm-django gives error fcm_django.FCMDevice.user: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out
I'm using fcm-django to send push notifications. I have configured it as it is in documentation. While python manage.py migrate
I got an error:
SystemCheckError: System check identified some issues:
ERRORS:
fcm_django.FCMDevice.user: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out.
HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'.
I have custom user model.
I checked fcm_django models and migrations there is no relation with auth.User. In github issues I have found exact the same issue, but it doesn't have a lot information. Only information from owner was https://github.com/xtrinch/fcm-django/issues/207#issuecomment-1091457284 . But I didn't get it
How can I fix this?