We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
or at least I can't work out how
Lets say I have field X and I want to move f1, f2 and f3 up below it.
form.order_after(f1='X', f2='X', f3='X') will move them but it in a random order
form.order_after(f1='X', f2='X', f3='X')
form.order_after(f1='X', f2='f1', f3='f2') will randomly move some not others.
form.order_after(f1='X', f2='f1', f3='f2')
The text was updated successfully, but these errors were encountered:
btw the reason is obviously the use named arguments and that they don't retain their order (see http://stackoverflow.com/questions/26748097/using-an-ordereddict-in-kwargs). There isn't a good way to fix this using the current api.
Options are
form.order_after([('f1','X'), ('f2','X'), ('f3,'X')])
form.insert_after(X=['f1','f1', 'f2'])
Can't think of any others
Sorry, something went wrong.
No branches or pull requests
or at least I can't work out how
Lets say I have field X and I want to move f1, f2 and f3 up below it.
form.order_after(f1='X', f2='X', f3='X')
will move them but it in a random orderform.order_after(f1='X', f2='f1', f3='f2')
will randomly move some not others.The text was updated successfully, but these errors were encountered: