コード例 #1
0
 def _create_kanji(self, index=13, keyword='month', character='月'):
     kanji = Kanji()
     kanji.heisig_index = index
     kanji.keyword = keyword
     kanji.character = character
     kanji.save()
     return kanji
コード例 #2
0
 def _create_kanji(self, character='日', keyword='day', index=12):
     kanji = Kanji(character=character, keyword=keyword, heisig_index=index)
     kanji.save()
     return kanji