我只想有一个表单集的标题示例:
CaracFormSet = formset_factory(CaracForm, extra=0)
CaracFormSet = CaracFormSet(prefix='carac',initial=initial)
我只想要标题怎么做?
print CaracFormSet. what ?
这是我的表单集的标题:
<input type="hidden" name="carac-TOTAL_FORMS" value="2" id="id_carac-TOTAL_FORMS
" /><input type="hidden" name="carac-INITIAL_FORMS" value="2" id="id_carac-INITI
AL_FORMS" /><input type="hidden" name="carac-MAX_NUM_FORMS" id="id_carac-MAX_NUM
_FORMS" />
问候比西尔