字段与选项
CharField() 字符字段
max_length = xxx or None
# 必选项blank = True 和 default = ''
# 如果不是必填项,可以设置unique = True
# 如果想要使其唯一,比如用于username,可以设置choices = xxx_CHOICES
# 如果有choice选项,可以设置
TextField() 文本字段
max_length = xxx
blank = True 和 default = ''
# 如果不是必填项,可以设置
DateField() and DateTimeField() 日期与时间字段
default date
# 一般建议设置默认日期DateField:default = date.today
# 需要导入包from datetime import date
DateTimeField:default = timezone.now
# 需要导入包from django.utils import timezone</