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’)
您可能感興趣的試卷
你可能感興趣的試題
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’)
A.LANGUAGE_CODE =’en-us’
B.LANGUAGE_CODE =’zh-Hans’
C.LANGUAGE_CODE =’en-GB’
D.LANGUAGE_CODE =’ja-jp’
A.python manage.py makemigrations
B.python manage.py shell
C.python manage.py startapp app02
D.python manage.py migrate
A.python manage.py runserver 8000
B.python manage.py shell
C.python manage.py startapp app02
D.python manage.py migrate
A.python manage.py runserver 8000
B.python manage.py shell
C.python manage.py startapp app02
D.python manage.py makemigrations
最新試題
下列關(guān)于django-rest-framework類視圖說(shuō)法正確的是()
class Meta中的原信息字段不存在哪個(gè)?()
filter和exclude的區(qū)別描述正確是()
要排除查詢結(jié)果中重復(fù)的結(jié)果集。應(yīng)該用哪個(gè)orm方法()
推遲指定字段的取值,僅在調(diào)用時(shí)才到數(shù)據(jù)庫(kù)查詢,需要使用什么方法?()
django-rest-framework 提供了資源操作的5個(gè)混入類,分別對(duì)應(yīng)資源的創(chuàng)建、查詢、更新、刪除,下列說(shuō)法正確的是()
用于django執(zhí)行生成遷移文件的子命令是()
獲取列表長(zhǎng)度語(yǔ)法結(jié)構(gòu):()
以下選項(xiàng)是Python文件讀操作的是()
ORM操作:條件查詢多條數(shù)據(jù)的是()