changes to update to django 1.5, refs #56