Hi guys, i have a form, but i need to re-orden the form fields, plese some body will tell me how? im try with fields = ['x','y'] but nothing happen.
class DiligenciaForm(ModelForm):
titulo = forms.CharField(max_length=70,help_text='Dele un nombre a su diligencia.')
tipo = forms.ChoiceField(choices=TIPO)
vias= forms.TypedChoiceField(widget=forms.RadioSelect(), choices=CHOICES)
class Meta:
model = Diligencia
exclude =('socio','secuencia','ffin','fecha','fentrada','status')
fields = ['titulo', 'tipo','vias']
i need this orden "titulo", "tipo" and "vias"... but is not working
Thanks