1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Americanized some spellings.

This commit is contained in:
Adam Johnson
2025-04-15 14:24:12 +01:00
committed by Sarah Boyce
parent 494d2dc316
commit 6ef0f5bc27
13 changed files with 41 additions and 41 deletions

View File

@@ -1940,9 +1940,9 @@ class AdminViewFormUrlTest(TestCase):
reverse("admin:admin_views_restaurant_add", current_app=self.current_app),
{"name": "test_value"},
)
# this would be the usual behaviour
# this would be the usual behavior
self.assertNotContains(response, 'value="test_value"')
# this is the overridden behaviour
# this is the overridden behavior
self.assertContains(response, 'value="overridden_value"')
@@ -8806,7 +8806,7 @@ class GetFormsetsWithInlinesArgumentTest(TestCase):
@override_settings(ROOT_URLCONF="admin_views.urls")
class AdminSiteFinalCatchAllPatternTests(TestCase):
"""
Verifies the behaviour of the admin catch-all view.
Verifies the behavior of the admin catch-all view.
* Anonynous/non-staff users are redirected to login for all URLs, whether
otherwise valid or not.