On 05.01.12 19:20, John Anderson wrote:
>    I have a base schema class and when I subclass it I sometimes want to
>    re-order the fields, for instance:
> 
>    class ProfileSchema(CSRFSchema):
>        Username = colander.SchemaNode(colander.String())
> 
>    class DetailedProfileSchema(ProfileSchema):
>        FirstName = colander.SchemaNode(colander.String())
> 
>    I would like first name to be displayed above Username
> 
>    Is this possible?

You could define the mapping schema imperatively: in that way you can place
the nodes in the order you need each time.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to