mirror of
https://github.com/django/django.git
synced 2025-09-23 02:33:31 +00:00
Removed unnecessary arguments in .get method calls
This commit is contained in:
parent
f61c4f490d
commit
4157c502a5
39 changed files with 78 additions and 79 deletions
|
@ -1216,7 +1216,7 @@ class RawQuerySet(object):
|
|||
model_cls = deferred_class_factory(self.model, skip)
|
||||
else:
|
||||
model_cls = self.model
|
||||
fields = [self.model_fields.get(c, None) for c in self.columns]
|
||||
fields = [self.model_fields.get(c) for c in self.columns]
|
||||
converters = compiler.get_converters([
|
||||
f.get_col(f.model._meta.db_table) if f else None for f in fields
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue