'django getting declared with a lazy reference error

ı am developing a django project.After I deployed my project on aws,at first everything was fine.But after that have to create model.After migrations operand I get this error

raise ValueError("\n".join(error.msg for error in errors))
ValueError: The field socialaccount.SocialAccount.user was declared with a lazy reference to 'psycholog.customusermodel', but app 'psycholog' isn't installed.

How can I fix that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source