<s> from django . forms import ModelForm <EOL> from django import forms <EOL> from dinette . models import Ftopics , Reply <EOL> class FtopicForm ( ModelForm ) : <EOL> subject = forms . CharField ( widget = forms . TextInput ( attrs = { "<STR_LIT:size>" : <NUM_LIT> } ) ) <EOL> message = forms . CharField ( widget = forms . Textarea ( attrs = { "<STR_LIT>" : <NUM_LIT> , "<STR_LIT>" : <NUM_LIT:10> } ) ) <EOL> class Meta : <EOL> model = Ftopics <EOL> fields = ( '<STR_LIT>' , '<STR_LIT:message>' , '<STR_LIT>' , '<STR_LIT:file>' ) <EOL> class ReplyForm ( ModelForm ) : <EOL> message = forms . CharField ( widget = forms . Textarea ( attrs = { "<STR_LIT>" : <NUM_LIT> , "<STR_LIT>" : <NUM_LIT:10> } ) ) <EOL> class Meta : <EOL> model = Reply <EOL> fields = ( '<STR_LIT:message>' , '<STR_LIT>' , '<STR_LIT:file>' ) </s>
