1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00
Backport of a71a2ea756 from master
This commit is contained in:
Veres Lajos
2014-11-03 22:48:03 +00:00
committed by Tim Graham
parent 378f94e39e
commit 6b32adda59
20 changed files with 27 additions and 27 deletions

View File

@@ -212,7 +212,7 @@ class ValidationTestCase(TestCase):
warnings.filterwarnings('ignore', module='django.contrib.admin.options')
SongAdmin.validate(Song)
def test_nonexistant_field(self):
def test_nonexistent_field(self):
class SongAdmin(admin.ModelAdmin):
readonly_fields = ("title", "nonexistent")
@@ -222,7 +222,7 @@ class ValidationTestCase(TestCase):
SongAdmin.validate,
Song)
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