![]() |
1
6
尝试:
|
![]() |
2
1
http://www.djangoproject.com/documentation/models/choices/
应该有用。 |
![]() |
3
0
由于django筛选查询集的方式,在定义字段名时禁止在一行中使用两个下划线: http://docs.djangoproject.com/en/dev/topics/db/models/#field-name-restrictions |