单项选择题
要在django项目中创建新的app,名称为polls,该使用哪个命令?()
A.python manage.py startapp polls
B.python manage startapp polls
C.python manage.py createapp polls
D.python manage createapp polls
点击查看答案&解析
相关考题
-
单项选择题
model需要定义一个IntegerField类型的字段,以下选项中不为合法参数的是()
A.default=0
B.null=True
C.max_length=10
D.verbose_name=’id’ -
单项选择题
推迟指定字段的取值,仅在调用时才到数据库查询,需要使用什么方法?()
A.early
B.delay
C.defer
D.only -
单项选择题
要排除查询结果中重复的结果集。应该用哪个orm方法()
A.distinct
B.dictinst
C.distincts
D.distenct
