summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-08-15 07:18:04 -0400
committerTim Graham <timograham@gmail.com>2014-08-15 07:30:36 -0400
commit23455aeee2a9edc71d15d5e15db77fdf641489d9 (patch)
treef2947d1fd1345d88980e94022036af11ec5cf749
parent2cbafd814f151b8c926ed8a955627edb8ea23b23 (diff)
[1.7.x] Fixed typo in docs/howto/custom-model-fields.txt.
Backport of 99561eef26 from master
-rw-r--r--docs/howto/custom-model-fields.txt2
1 files changed, 1 insertions, 1 deletions
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)