Simon Willison’s Weblog

Subscribe

1 item tagged “tip”

2008

CookBookNewFormsFieldOrdering. Handy tip—change the order of fields in a Django newforms instance by over-riding form.fields.keyOrder (since fields is a SortedDict).

# 27th June 2008, 1:02 am / django, newforms, python, tip