added bugfix for problem with form saving in django 1.5