mirror of
https://github.com/django/django.git
synced 2025-08-09 05:18:56 +00:00
Fix many many typos in comments throughout the codebase
This commit is contained in:
parent
8b5b199e20
commit
2bcb8bfc8d
53 changed files with 79 additions and 80 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue