diff options
Diffstat (limited to 'core/forms.py')
-rw-r--r-- | core/forms.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/forms.py b/core/forms.py index 417ed10..7f33e05 100644 --- a/core/forms.py +++ b/core/forms.py @@ -6,7 +6,7 @@ from django.forms import ModelForm from django.forms.models import modelformset_factory from django.contrib.admin.widgets import AdminDateWidget -from tinymce.widgets import TinyMCE +#from tinymce.widgets import TinyMCE from troggle.core.models import Person, PersonExpedition, Expedition from troggle.core.models_caves import Cave, LogbookEntry, QM, Entrance, CaveAndEntrance @@ -123,7 +123,8 @@ def getTripForm(expedition): cave = forms.ChoiceField([(c, c) for c in caves], required=False) location = forms.CharField(max_length=200, required=False) caveOrLocation = forms.ChoiceField([("cave", "Cave"), ("location", "Location")], widget = forms.widgets.RadioSelect()) - html = forms.CharField(widget=TinyMCE(attrs={'cols': 80, 'rows': 30})) +# html = forms.CharField(widget=TinyMCE(attrs={'cols': 80, 'rows': 30})) + html = forms.CharField(widget=forms.Textarea(attrs={"cols":80, "rows":20})) def clean(self): print((dir(self))) |