summaryrefslogtreecommitdiff
path: root/tests/admin_validation/tests.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 10:18:45 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 10:18:45 -0700
commit2bcb8bfc8de5cd57ebb64b326cd7609aa0d8c1c7 (patch)
tree6c0dc4b5f0d4dbcae6c181efc2b346799ac5caf3 /tests/admin_validation/tests.py
parent8b5b199e20ad2d8d3e91873ce0cd5d3035e05ece (diff)
Fix many many typos in comments throughout the codebase
Diffstat (limited to 'tests/admin_validation/tests.py')
-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)