Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #18528 -- Fixed custom field value_to_string example

Thanks anuraguniyal for the report.
  • Loading branch information...
commit b9ecbedb31375a887d100ccf550a091c8d5d4fd7 1 parent 54b1519
@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
@@ -666,7 +666,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.