summaryrefslogtreecommitdiff
path: root/tests/admin_validation
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 10:18:45 -0700
committerTim Graham <timograham@gmail.com>2014-04-26 14:35:57 -0400
commit996564df4d70947913c70b071cf4a6841c658be2 (patch)
tree56dc9ab02361a56c6bf91c1f8a2bd0052c561a37 /tests/admin_validation
parent3bb0f118ca375f25cd0c03a5733ee2ef9d79dfa5 (diff)
[1.7.x] Fix many many typos in comments throughout the codebase
Backport of 2bcb8bfc8d from master
Diffstat (limited to 'tests/admin_validation')
-rw-r--r--tests/admin_validation/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_validation/tests.py b/tests/admin_validation/tests.py
index 582f598d27..a7c32ca79f 100644
--- a/tests/admin_validation/tests.py
+++ b/tests/admin_validation/tests.py
@@ -214,10 +214,10 @@ class ValidationTestCase(TestCase):
def test_nonexistant_field(self):
class SongAdmin(admin.ModelAdmin):
- readonly_fields = ("title", "nonexistant")
+ readonly_fields = ("title", "nonexistent")
self.assertRaisesMessage(ImproperlyConfigured,
- str_prefix("SongAdmin.readonly_fields[1], %(_)s'nonexistant' is not a callable "
+ str_prefix("SongAdmin.readonly_fields[1], %(_)s'nonexistent' is not a callable "
"or an attribute of 'SongAdmin' or found in the model 'Song'."),
SongAdmin.validate,
Song)