为了数据库课设写的一个基于Django和mysql的在线商城系统
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
fgmn opened this issue 3 years ago · comments
cart = models.Cart(creation_date=datetime.datetime.now())
这里会报错:module 'django.db.models' has no attribute 'Cart',请问是什么原因?