mirror of
https://github.com/django/django.git
synced 2025-10-05 08:10:36 +00:00
Fixed W503 flake8 warnings.
This commit is contained in:
parent
d356bb653f
commit
2cd2d18851
45 changed files with 166 additions and 187 deletions
|
@ -384,9 +384,9 @@ class Options(object):
|
|||
|
||||
return make_immutable_fields_list(
|
||||
"fields",
|
||||
(f for f in self._get_fields(reverse=False) if
|
||||
is_not_an_m2m_field(f) and is_not_a_generic_relation(f)
|
||||
and is_not_a_generic_foreign_key(f))
|
||||
(f for f in self._get_fields(reverse=False)
|
||||
if is_not_an_m2m_field(f) and is_not_a_generic_relation(f) and
|
||||
is_not_a_generic_foreign_key(f))
|
||||
)
|
||||
|
||||
@cached_property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue