Django path problem

User doesn’t declare an explicit app_label and isn’t in an application in INSTALLED_APPS.

Emergence of the phenomenon:

1、RuntimeError: Model class meiduo28.apps.users.models.User
2、User doesn’t declare an explicit app_label and isn’t in an application in INSTALLED_APPS.

Investigation

1, grammar checker and other issues, were normal
2 to study the reasons being given, suspected leader packet problems.

Further investigation

Here Insert Picture Description

test result

Here Insert Picture Description

to sum up

1, when a plurality of conductive paths occurs package requires a very careful, not simply coated with conductive tips pychar.
2, all packages in the guide apps sub-applications, using a relatively conductive path to the package.

Guess you like

Origin blog.csdn.net/lujhww_66/article/details/94654836