mirror of
https://github.com/django/django.git
synced 2025-10-25 14:46:09 +00:00
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
This commit is contained in:
@@ -52,9 +52,9 @@ class ModelChoiceFieldTests(TestCase):
|
||||
c4 = Category.objects.create(name="Fourth", url="4th")
|
||||
self.assertEqual(f.clean(c4.id).name, "Fourth")
|
||||
|
||||
# Delete a Category object *after* the ModelChoiceField has already been
|
||||
# instantiated. This proves clean() checks the database during clean()
|
||||
# rather than caching it at instantiation time.
|
||||
# Delete a Category object *after* the ModelChoiceField has already
|
||||
# been instantiated. This proves clean() checks the database during
|
||||
# clean() rather than caching it at instantiation time.
|
||||
Category.objects.get(url="4th").delete()
|
||||
msg = (
|
||||
"['Select a valid choice. That choice is not one of the available "
|
||||
|
||||
Reference in New Issue
Block a user