■文字列Char
title = models.CharField(max_length=200)
■文字列Text
body = models.TextField()
■DateTime & 初期値設定
pub_date = models.DateTimeField('date published',default=datetime.datetime.now() )
■Int & リスト選択
CategoryChoices = (
(1, 'DESIGN'),
(2, 'TECH'),
(3, 'ENTERTAINMENT'),
(4, 'SOCIAL'),
(5, 'BUSINESS'),
(6, 'TRAVEL'),
)
category = models.IntegerField(choices=CategoryChoices)