Thanks Malcolm But I have one little difference between form and model - only one new field that needs to be on top of all other fields example:
#model class SomeModel(modles.Model): field1 field2 ... field20 #form class SomeModelForm(forms.ModelForm): some_new_field class Meta: model = SomeModel thats it ! when form rendered - some_new_field is displayed on the bottom of all model's fields, but I need to place it on top... So i found only one way to solve my problem: class SomeModelForm(forms.ModelForm): def __init__(self, *a, **kw): super(...) self.base_fields.keyOrder = ['some_new_field', 'field1', 'field2', ...] I` gues nice, but it would be better if this behaviour will be in Meta --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---