mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
Fixed a number of minor misspellings.
This commit is contained in:
parent
ca39c0a6be
commit
47c755327b
28 changed files with 31 additions and 31 deletions
|
@ -174,7 +174,7 @@ Advanced features of ``TransactionTestCase``
|
|||
.. warning::
|
||||
|
||||
This attribute is a private API. It may be changed or removed without
|
||||
a deprecation period in the future, for instance to accomodate changes
|
||||
a deprecation period in the future, for instance to accommodate changes
|
||||
in application loading.
|
||||
|
||||
It's used to optimize Django's own test suite, which contains hundreds
|
||||
|
|
|
@ -1421,7 +1421,7 @@ The decorator can also be applied to test case classes::
|
|||
|
||||
|
||||
You can also simulate the absence of a setting by deleting it after settings
|
||||
have been overriden, like this::
|
||||
have been overridden, like this::
|
||||
|
||||
@override_settings()
|
||||
def test_something(self):
|
||||
|
@ -1437,7 +1437,7 @@ callbacks to clean up and otherwise reset state when settings are changed.
|
|||
Django itself uses this signal to reset various data:
|
||||
|
||||
================================ ========================
|
||||
Overriden settings Data reset
|
||||
Overridden settings Data reset
|
||||
================================ ========================
|
||||
USE_TZ, TIME_ZONE Databases timezone
|
||||
TEMPLATE_CONTEXT_PROCESSORS Context processors cache
|
||||
|
@ -1639,7 +1639,7 @@ your test suite.
|
|||
.. versionadded:: 1.5
|
||||
|
||||
Asserts that the strings ``xml1`` and ``xml2`` are equal. The
|
||||
comparison is based on XML semantics. Similarily to
|
||||
comparison is based on XML semantics. Similarly to
|
||||
:meth:`~SimpleTestCase.assertHTMLEqual`, the comparison is
|
||||
made on parsed content, hence only semantic differences are considered, not
|
||||
syntax differences. When unvalid XML is passed in any parameter, an
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue