summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/utils/numberformat.py2
-rw-r--r--docs/releases/2.0.13.txt13
-rw-r--r--docs/releases/index.txt1
3 files changed, 15 insertions, 1 deletions
diff --git a/django/utils/numberformat.py b/django/utils/numberformat.py
index 5814c454a4..d8157fce93 100644
--- a/django/utils/numberformat.py
+++ b/django/utils/numberformat.py
@@ -36,7 +36,7 @@ def format(number, decimal_sep, decimal_pos=None, grouping=0, thousand_sep='',
# Format the coefficient.
coefficient = format(
coefficient, decimal_sep, decimal_pos, grouping,
- thousand_sep, force_grouping, use_l10n,
+ thousand_sep, force_grouping,
)
return '{}e{}'.format(coefficient, exponent)
else:
diff --git a/docs/releases/2.0.13.txt b/docs/releases/2.0.13.txt
new file mode 100644
index 0000000000..2f9fb273fc
--- /dev/null
+++ b/docs/releases/2.0.13.txt
@@ -0,0 +1,13 @@
+===========================
+Django 2.0.13 release notes
+===========================
+
+*February 12, 2019*
+
+Django 2.0.13 fixes a regression in 2.0.12/2.0.11.
+
+Bugfixes
+========
+
+* Fixed crash in ``django.utils.numberformat.format_number()`` when the number
+ has over 200 digits (:ticket:`30177`).
diff --git a/docs/releases/index.txt b/docs/releases/index.txt
index 20733721a9..6dafcb075f 100644
--- a/docs/releases/index.txt
+++ b/docs/releases/index.txt
@@ -25,6 +25,7 @@ versions of the documentation contain the release notes for any later releases.
.. toctree::
:maxdepth: 1
+ 2.0.13
2.0.12
2.0.11
2.0.10