mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Removed uneeded generator expressions and list comprehensions.
This commit is contained in:
committed by
Tim Graham
parent
b1a2ad6925
commit
1933e56eca
@@ -160,7 +160,7 @@ class BaseForm:
|
||||
"Key '%s' not found in '%s'. Choices are: %s." % (
|
||||
name,
|
||||
self.__class__.__name__,
|
||||
', '.join(sorted(f for f in self.fields)),
|
||||
', '.join(sorted(self.fields)),
|
||||
)
|
||||
)
|
||||
if name not in self._bound_fields_cache:
|
||||
|
||||
Reference in New Issue
Block a user