From 23455aeee2a9edc71d15d5e15db77fdf641489d9 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 15 Aug 2014 07:18:04 -0400 Subject: [PATCH] [1.7.x] Fixed typo in docs/howto/custom-model-fields.txt. Backport of 99561eef26 from master --- docs/howto/custom-model-fields.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt index 75d14e61ec..5a6047c58f 100644 --- a/docs/howto/custom-model-fields.txt +++ b/docs/howto/custom-model-fields.txt @@ -595,7 +595,7 @@ passed as the ``connection`` parameter. This allows you to use backend-specific conversion logic if it is required. For example, Django uses the following method for its -:class:``~models.BinaryField``:: +:class:`BinaryField`:: def get_db_prep_value(self, value, connection, prepared=False): value = super(BinaryField, self).get_db_prep_value(value, connection, prepared)