I have a use case where a Form superclass includes fields at the top
and bottom of the form, with the subclasses providing the fields in
the middle. Obviously, there's no easy way to fix the ordering using
simple declaration. I went on IRC and someone told me about overriding
self.fields.keyOrder in the Form's __init__ method, which works just
great.

I wrote up a patch for the docs that explains how to do this, but
wanted to make sure the solution was kosher before I submitted it.

Todd

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to