1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00
This commit is contained in:
Veres Lajos
2014-11-03 22:48:03 +00:00
committed by Tim Graham
parent 7b42036752
commit a71a2ea756
21 changed files with 28 additions and 28 deletions

View File

@@ -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