摘要: class UserInfo(model.Model): name = models.CharField() addr_choice = ( (1, "北京"), (2, "上海"), ) addr = models.CharField(choice=addr_choice) obj = UserI 阅读全文
posted @ 2019-05-24 15:58 酷酷的狐狸 阅读(2275) 评论(0) 推荐(0) 编辑