Fixed  'QueryDict' object has no attribute 'dict' at django 1.3