它没有安装或是抽象的

时间:2015-05-16 21:05:36

标签: django

class Journal(models.Model):
    user = models.ForeignKey('mysite.apps.person.models.Person', related_name="user_journals")

但我得到了:

.. has 'user' relation with Model "mysite.apps.person.models.Person", which has either not been installed or is abstract
在settings.py

INSTALLED_APPS = (
    ...
    'mysite.apps.person',
    ...
)
我做错了什么?

0 个答案:

没有答案