mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed spelling of "nonexistent".
This commit is contained in:
parent
a21ec12409
commit
29f607927f
47 changed files with 141 additions and 114 deletions
|
@ -222,7 +222,7 @@ class AdminForeignKeyRawIdWidget(TestDataMixin, TestCase):
|
|||
post_data = {
|
||||
"main_band": '%s' % pk,
|
||||
}
|
||||
# Try posting with a non-existent pk in a raw id field: this
|
||||
# Try posting with a nonexistent pk in a raw id field: this
|
||||
# should result in an error message, not a server exception.
|
||||
response = self.client.post(reverse('admin:admin_widgets_event_add'), post_data)
|
||||
self.assertContains(response, 'Select a valid choice. That choice is not one of the available choices.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue