<s> from django . conf import settings <EOL> from django . forms import ModelForm <EOL> from demo . articles . models import Article <EOL> from demo . twitter_bootstrap import Wysihtml5BootstrapWidget <EOL> class ArticleForm ( ModelForm ) : <EOL> class Meta : <EOL> model = Article <EOL> fields = ( '<STR_LIT:title>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:body>' ) <EOL> widgets = { <EOL> '<STR_LIT:body>' : Wysihtml5BootstrapWidget ( <EOL> attrs = { '<STR_LIT>' : <NUM_LIT:20> , '<STR_LIT>' : <NUM_LIT> } , <EOL> toolbar_settings = settings . WYSIHTML5_BOOTSTRAP_TOOLBAR ) <EOL> } </s>
