A.models.Book.objects.all()B.models.Book.objects.get(id=3)C.models.Book..objects.filter(book_name=’python’)D.models.Book.objects.create(full_name=’lsw’)
单项选择题ORM操作:返回全部数据的是()
单项选择题将项目配置为中文简体的设置是()
A.LANGUAGE_CODE =’en-us’B.LANGUAGE_CODE =’zh-Hans’C.LANGUAGE_CODE =’en-GB’D.LANGUAGE_CODE =’ja-jp’
单项选择题用于django执行生成迁移文件的子命令是()
A.python manage.py makemigrationsB.python manage.py shellC.python manage.py startapp app02D.python manage.py migrate
单项选择题用于django执行迁移的子命令是()
A.python manage.py runserver 8000B.python manage.py shellC.python manage.py startapp app02D.python manage.py migrate
单项选择题用于创建django应用的子命令是()
A.python manage.py runserver 8000B.python manage.py shellC.python manage.py startapp app02D.python manage.py makemigrations