Commit d92c38a2 authored by Claude Paroz's avatar Claude Paroz
Browse files

[1.4.x] Fixed #18528 -- Fixed custom field value_to_string example

Thanks anuraguniyal for the report.
parent 9014b138
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -684,7 +684,7 @@ data storage anyway, we can reuse some existing conversion code::

        def value_to_string(self, obj):
            value = self._get_val_from_obj(obj)
            return self.get_db_prep_value(value)
            return self.get_prep_value(value)

Some general advice
--------------------