📌  相关文章
📜  django 添加到数据库 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:25.988000             🧑  作者: Mango

代码示例1
# add to database after implement modal
from blog.models import Blog

b = Blog(name='Beatles Blog', tagline='All the latest Beatles news.')
b.save()