2008-05-16から1日間の記事一覧
その1 models.pyの def __str__(self): を def __unicode__(self): に変更 その2 maxlength を max_length に変更 その3 _('Title')などの翻訳文字列があったら from django.utils.translation import ugettext as _ を追加(参考サイトDjango0.97和訳ド…
牌語備忘録 -pygo
その1 models.pyの def __str__(self): を def __unicode__(self): に変更 その2 maxlength を max_length に変更 その3 _('Title')などの翻訳文字列があったら from django.utils.translation import ugettext as _ を追加(参考サイトDjango0.97和訳ド…