1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Remove text-mangling of default values.

This commit is contained in:
Marc Tamlyn
2014-11-18 20:24:48 +00:00
parent c0b65150ff
commit 6b2d3f9206
3 changed files with 6 additions and 9 deletions

View File

@@ -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