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
相關文章
相關標籤/搜索