Created
July 21, 2010 20:25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def moveField(name, direction=None, pos=None, after=None, before=None): | |
"""Move a field | |
name: | |
name of the field | |
direction: | |
Move a field inside its schemata to the left (-1) or to the right (+1) | |
pos: | |
Moves a field to a position in the whole schema. pos is either a number | |
or 'top' or 'bottom' | |
after: | |
Moves the field 'name' after the field 'after' | |
before: | |
Moves the field 'name' before the field 'before' | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment