Ticket #10565: custom-model-fields.diff
File custom-model-fields.diff, 706 bytes (added by , 16 years ago) |
---|
-
docs/howto/custom-model-fields.txt
419 419 420 420 Same as the above, but called when the Field value must be *saved* to the 421 421 database. As the default implementation just calls ``get_db_prep_value``, you 422 shouldn't need to implement this method unless your custom field need a special422 shouldn't need to implement this method unless your custom field needs a special 423 423 conversion when being saved that is not the same as the used for normal query 424 424 parameters (which is implemented by ``get_db_prep_value``). 425 425