From fe7fe27d1e5df6918fb9cf11d64686f85948c564 Mon Sep 17 00:00:00 2001 From: Eevee Date: Sun, 3 Apr 2011 02:16:15 -0700 Subject: [PATCH] Change item short effects to markdown. --- pokedex/db/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index 5e7e99b..d9905b6 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -500,7 +500,7 @@ create_translation_table('item_names', Item, 'names', info=dict(description="The name", format='plaintext', official=True, ripped=True)), ) create_translation_table('item_prose', Item, 'prose', - short_effect = Column(Unicode(256), nullable=False, + short_effect = Column(markdown.MarkdownColumn(256), nullable=False, info=dict(description="A short summary of the effect", format='plaintext')), effect = Column(markdown.MarkdownColumn(5120), nullable=False, info=dict(description=u"Detailed description of the item's effect.", format='markdown')), -- 2.7.4