changeset 274 | 56e1c1721299 |
parent 271 | 01e90bb21b7e |
child 324 | 05e21c089be6 |
--- a/app/soc/views/helper/widgets.py Fri Oct 03 23:24:12 2008 +0000 +++ b/app/soc/views/helper/widgets.py Fri Oct 03 23:59:49 2008 +0000 @@ -52,7 +52,7 @@ dictionary You can set TinyMCE widget for particular form field using code below: - class ExampleForm(forms_helpers.DbModelForm): + class ExampleForm(helper.forms.DbModelForm): content = forms.fields.CharField(widget=helper.widgets.TinyMCE()) You can include tiny_mce_src.js in your template using: