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)于APIView類和一般的View類的區(qū)別,描述正確的是()
生成應(yīng)用遷移文件的子命令是()
下列關(guān)于Request parsing(請(qǐng)求解析)說(shuō)法錯(cuò)誤的是()
若有個(gè)字段需要存儲(chǔ)金額。則以下哪個(gè)字段類型最為合適?()
下列關(guān)于action 裝飾器,描述正確的是()
ORM操作:返回一條數(shù)據(jù)的是()
若settings.py中配置有多個(gè)數(shù)據(jù)庫(kù)。則查詢時(shí)需要使用哪個(gè)命令來(lái)指定數(shù)據(jù)庫(kù)?()
下列方法用于列表添加對(duì)象的是下列哪個(gè)選項(xiàng):()
用于django執(zhí)行遷移的子命令是()
要排除查詢結(jié)果中重復(fù)的結(jié)果集。應(yīng)該用哪個(gè)orm方法()