Fixed typo in docs/howto/custom-model-fields.txt.

This commit is contained in:
Tim Graham 2014-08-15 07:18:04 -04:00
parent 12adcd505e
commit 99561eef26
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ passed as the ``connection`` parameter. This allows you to use
backend-specific conversion logic if it is required. backend-specific conversion logic if it is required.
For example, Django uses the following method for its For example, Django uses the following method for its
:class:``~models.BinaryField``:: :class:`BinaryField`::
def get_db_prep_value(self, value, connection, prepared=False): def get_db_prep_value(self, value, connection, prepared=False):
value = super(BinaryField, self).get_db_prep_value(value, connection, prepared) value = super(BinaryField, self).get_db_prep_value(value, connection, prepared)