Skip to content

Commit e12aad2

Browse files
committed
Added changes missing from previous commit.
Sorry.
1 parent e16c48e commit e12aad2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/releases/1.6.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,13 @@ connections.
298298
When a :class:`~django.db.models.BooleanField` doesn't have an explicit
299299
:attr:`~django.db.models.Field.default`, the implicit default value is
300300
``None``. In previous version of Django, it was ``False``, but that didn't
301-
represent accurantely the lack of a value.
301+
represent accurately the lack of a value.
302302

303303
Code that relies on the default value being ``False`` may raise an exception
304304
when saving new model instances to the database, because ``None`` isn't an
305305
acceptable value for a :class:`~django.db.models.BooleanField`. You should
306-
either specify ``default=False`` explicitly on the field definition, or ensure
307-
the field is set to ``True`` or ``False`` before saving the object.
306+
either specify ``default=False`` in the field definition, or ensure the field
307+
is set to ``True`` or ``False`` before saving the object.
308308

309309
Translations and comments in templates
310310
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -328,7 +328,7 @@ specified using ``{#`` / ``#}`` is now stricter. All translator comments not
328328
located at the end of their respective lines in a template are ignored and a
329329
warning is generated by :djadmin:`makemessages` when it finds them. E.g.:
330330

331-
.. code-block:: html+django
331+
.. code-block:: html+django
332332

333333
{# Translators: This is ignored #}{% trans "Translate me" %}
334334
{{ title }}{# Translators: Extracted and associated with 'Welcome' below #}

0 commit comments

Comments
 (0)