Forgot to change widgets to custom_widgets import in home.py after changing the name of soc/views/helpers/widgets.py file.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Sat, 13 Sep 2008 22:53:07 +0000
changeset 142 d88c7dbea0e8
parent 141 e120c24b89e2
child 143 b419121f7b3e
Forgot to change widgets to custom_widgets import in home.py after changing the name of soc/views/helpers/widgets.py file.
app/soc/views/site/home.py
--- a/app/soc/views/site/home.py	Sat Sep 13 22:00:51 2008 +0000
+++ b/app/soc/views/site/home.py	Sat Sep 13 22:53:07 2008 +0000
@@ -41,7 +41,7 @@
 from soc.views.helpers import forms_helpers
 from soc.views.helpers import response_helpers
 from soc.views.helpers import template_helpers
-from soc.views.helpers import widgets
+from soc.views.helpers import custom_widgets
 
 import soc.models.site_settings
 import soc.models.document
@@ -50,7 +50,7 @@
 
 
 class DocumentForm(forms_helpers.DbModelForm):
-  content = forms.fields.CharField(widget=widgets.TinyMCE())
+  content = forms.fields.CharField(widget=custom_widgets.TinyMCE())
   #link_name = forms.CharField(widget=forms.TextInput(
   #                                attrs={'readonly':'true'}))
   class Meta: