Django学习之Django shell

Django shell交互式,方便调试,开发。 python manage.py shell from blog.models import Article a=Article() a.title='title' a.brief_content='brief_content' a.content='content' a.save() print (a) articles=Article.obje
相关文章
相关标签/搜索