﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18528	Field.value_to_string documentation broken	anuraguniyal	nobody	"See https://docs.djangoproject.com/en/1.4/howto/custom-model-fields/#django.db.models.Field.value_to_string , it gives a sample as

{{{
class HandField(models.Field):
    # ...

    def value_to_string(self, obj):
        value = self._get_val_from_obj(obj)
        return self.get_db_prep_value(value)
}}}

but it will not work in 1.4 due to `TypeError: get_db_prep_value() takes at least 3 arguments (2 given)`"	Bug	closed	Documentation	1.4	Normal	fixed			Accepted	0	0	0	0	1	0
