From 119d4a5f5f8a45e27abd5a05417c6ee4e37a8485 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 8 Nov 2011 09:31:44 +0530 Subject: [PATCH] add formfield_overrides to bestpractice stories --- itf/bestpractices/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/itf/bestpractices/admin.py b/itf/bestpractices/admin.py index 602270f..787ce1f 100755 --- a/itf/bestpractices/admin.py +++ b/itf/bestpractices/admin.py @@ -7,6 +7,7 @@ class ImageInline(admin.StackedInline): extra = 2 class StoryInline(admin.StackedInline): + formfield_overrides = {models.TextField: {'widget': MarkItUpWidget}} model = BestPracticeStory extra = 3