Fixed #28776 -- Fixed a/an/and typos in docs and comments.

This commit is contained in:
Дилян Палаузов 2017-11-06 22:11:39 -05:00 committed by Tim Graham
parent 5587485d49
commit 6c0042430e
24 changed files with 29 additions and 29 deletions

View file

@ -57,8 +57,8 @@ class UserModelChecksTests(SimpleTestCase):
@override_settings(AUTH_USER_MODEL='auth_tests.CustomUserNonUniqueUsername')
def test_username_non_unique(self):
"""
A non-unique USERNAME_FIELD should raise an error only if we use the
default authentication backend. Otherwise, an warning should be raised.
A non-unique USERNAME_FIELD raises an error only if the default
authentication backend is used. Otherwise, a warning is raised.
"""
errors = checks.run_checks()
self.assertEqual(errors, [