mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed typos using https://github.com/vlajos/misspell_fixer
This commit is contained in:
@@ -407,7 +407,7 @@ class SystemChecksTestCase(TestCase):
|
||||
errors = SongAdmin.check(model=Song)
|
||||
self.assertEqual(errors, [])
|
||||
|
||||
def test_nonexistant_field(self):
|
||||
def test_nonexistent_field(self):
|
||||
class SongAdmin(admin.ModelAdmin):
|
||||
readonly_fields = ("title", "nonexistent")
|
||||
|
||||
@@ -423,7 +423,7 @@ class SystemChecksTestCase(TestCase):
|
||||
]
|
||||
self.assertEqual(errors, expected)
|
||||
|
||||
def test_nonexistant_field_on_inline(self):
|
||||
def test_nonexistent_field_on_inline(self):
|
||||
class CityInline(admin.TabularInline):
|
||||
model = City
|
||||
readonly_fields = ['i_dont_exist'] # Missing attribute
|
||||
|
||||
Reference in New Issue
Block a user