Ticket #11438: 11438.diff
File 11438.diff, 794 bytes (added by , 15 years ago) |
---|
-
docs/howto/custom-model-fields.txt
464 464 list when you were expecting an object, for example) or a ``TypeError`` if 465 465 your field does not support that type of lookup. For many fields, you can get 466 466 by with handling the lookup types that need special handling for your field 467 and pass the rest ofthe :meth:`get_db_prep_lookup` method of the parent class.467 and pass the rest to the :meth:`get_db_prep_lookup` method of the parent class. 468 468 469 469 If you needed to implement ``get_db_prep_save()``, you will usually need to 470 470 implement ``get_db_prep_lookup()``. If you don't, ``get_db_prep_value`` will be