Lines Matching refs:field_name
563 for field_name in data:
564 if field_name not in field_dict or data[field_name] is None:
566 field_obj = field_dict[field_name]
575 if from_val == data[field_name]:
576 data[field_name] = to_val
580 dest_obj = field_obj.rel.to.smart_get(data[field_name],
584 if (field_name != 'parameterized_job' and
586 data[field_name] = getattr(dest_obj,
589 data[field_name] = dest_obj
603 for field_name, field_obj in field_dict.iteritems():
607 value = getattr(self, field_name)
613 existing_objs = manager.filter(**{field_name : value})
620 errors[field_name] = (
656 for field_name, error in unique_errors.iteritems():
657 errors.setdefault(field_name, error)
693 for field_name, value in data.iteritems():
694 setattr(self, field_name, value)
873 object_dict = dict((field_name, getattr(self, field_name))
874 for field_name in fields)