./manage.py makemigrations myapppython
tag = models.ForeignKey(Tag, related_name = 'fk_tag')數據庫
針對python2.7, models須要定義,unicode(self); 針對python3,須要定義,str(self)django