Ticket #10565: custom-model-fields.diff

File custom-model-fields.diff, 706 bytes (added by rduffield, 15 years ago)
  • docs/howto/custom-model-fields.txt

     
    419419
    420420Same as the above, but called when the Field value must be *saved* to the
    421421database. 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 special
     422shouldn't need to implement this method unless your custom field needs a special
    423423conversion when being saved that is not the same as the used for normal query
    424424parameters (which is implemented by ``get_db_prep_value``).
    425425
Back to Top