mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #28776 -- Fixed a/an/and typos in docs and comments.
This commit is contained in:
parent
5587485d49
commit
6c0042430e
24 changed files with 29 additions and 29 deletions
|
@ -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, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue