ubottu-web/ubottu/factoids/forms.py
2024-03-25 10:42:15 +01:00

9 lines
No EOL
257 B
Python

from django.forms import ModelForm, Textarea
from .models import Fact
class FactForm(ModelForm):
class Meta:
model = Fact
fields = '__all__'
widgets = {
'value': Textarea(attrs={'cols': 60, 'rows': 10}),
}