buxfix for previous bug extended (new version of django)