@@ -298,13 +298,13 @@ connections.
298
298
When a :class:`~django.db.models.BooleanField` doesn't have an explicit
299
299
:attr:`~django.db.models.Field.default`, the implicit default value is
300
300
``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.
302
302
303
303
Code that relies on the default value being ``False`` may raise an exception
304
304
when saving new model instances to the database, because ``None`` isn't an
305
305
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.
308
308
309
309
Translations and comments in templates
310
310
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -328,7 +328,7 @@ specified using ``{#`` / ``#}`` is now stricter. All translator comments not
328
328
located at the end of their respective lines in a template are ignored and a
329
329
warning is generated by :djadmin:`makemessages` when it finds them. E.g.:
330
330
331
- .. code-block:: html+django
331
+ .. code-block:: html+django
332
332
333
333
{# Translators: This is ignored #}{% trans "Translate me" %}
334
334
{{ title }}{# Translators: Extracted and associated with 'Welcome' below #}
0 commit comments