AUTH_USER_MODEL refers to model 'accounts.User' that has not been installed

前端 未结 5 1845
渐次进展
渐次进展 2021-01-05 09:42

I\'m using a custom user model, extended with AbstractUser. Here\'s my models.py:

    # -*- coding: utf-8 -*-
from __future__ import unicode_literals

from d         


        
5条回答
  •  广开言路
    2021-01-05 10:26

    For me it worked when I tried shifting the position of the app in INSTALLED_APPS.

提交回复
热议问题