mirror of
https://github.com/django/django.git
synced 2025-11-02 21:03:53 +00:00
Fixed E225 pep8 warnings.
This commit is contained in:
parent
51d2e1fb23
commit
ae48d77ef8
43 changed files with 102 additions and 91 deletions
|
|
@ -193,7 +193,7 @@ class ValidationTestCase(TestCase):
|
|||
def test_nonexistant_field_on_inline(self):
|
||||
class CityInline(admin.TabularInline):
|
||||
model = City
|
||||
readonly_fields=['i_dont_exist'] # Missing attribute
|
||||
readonly_fields = ['i_dont_exist'] # Missing attribute
|
||||
|
||||
self.assertRaisesMessage(ImproperlyConfigured,
|
||||
str_prefix("CityInline.readonly_fields[0], %(_)s'i_dont_exist' is not a callable "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue