def pre_save_val(self, field, obj):
    "\n        Get the given field's value off the given obj. pre_save() is used for\n        things like auto_now on DateTimeField. Skip it if this is a raw query.\n        "
    if self.query.raw:
        return getattr(obj, field.attname)
    return field.pre_save(obj, add=True)
Get the given field's value off the given obj. pre_save() is used for
things like auto_now on DateTimeField. Skip it if this is a raw query.
def pre_save_val(self, field, obj):
    "\n        Get the given field's value off the given obj. pre_save() is used for\n        things like auto_now on DateTimeField. Skip it if this is a raw query.\n        "
    if self.query.raw:
        return getattr(obj, field.attname)
    return field.pre_save(obj, add=True)