From 6b2d3f9206e6eb2aafb75dcd0ef50ce672bc0ff3 Mon Sep 17 00:00:00 2001 From: Marc Tamlyn Date: Tue, 18 Nov 2014 20:24:48 +0000 Subject: Remove text-mangling of default values. --- docs/releases/1.8.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index a233edd443..6635d625bb 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -857,6 +857,11 @@ Miscellaneous :exc:`~django.test.client.RedirectCycleError` if it detects a loop or hits a maximum redirect limit (rather than passing silently). +* Translatable strings set as the ``default`` parameter of the field are cast + to concrete strings later, so the return type of ``Field.get_default()`` is + different in some cases. There is no change to default values which are the + result of a callable. + .. _deprecated-features-1.8: Features deprecated in 1.8 -- cgit v1.3