Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了两个模型:
class A1(models.Model): #insert code class A2(models.Model) #insert code
但是,当我运行 python3 manage.py migrate 时,它会显示“没有要应用的迁移”。
当我检查我的 /admin 时,我只能在“身份验证和授权”下看到组、用户,但我根本看不到我的表。有人知道吗?
解决方案:在“INSTALLED_APPS”中有错误的应用名称。添加了正确的,它工作。