Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Thanks anuraguniyal for the report.
  • Loading branch information...
commit d92c38a28177f4cad91c1921ca2b621d3af01912 1 parent 9014b13
@claudep claudep authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/howto/custom-model-fields.txt
View
2  docs/howto/custom-model-fields.txt
@@ -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
--------------------
Please sign in to comment.
Something went wrong with that request. Please try again.