0

我正在尝试在我的项目中使用 django channels_presence,但我的用户模型存在于另一个名为 auth 的项目(微服务架构)中,这给了我错误:

channels_presence.Presence.user: (fields.E300) Field defines a relation with model 'auth.User', which is either not installed, or is abstract.
channels_presence.Presence.user: (fields.E307) The field channels_presence.Presence.user was declared with a lazy reference to 'auth.user', but app 'auth' isn't installed.

如何在同一个项目中使用没有用户模型的 channels_presence?

4

0 回答 0