mirror of
https://github.com/django/django.git
synced 2025-10-28 16:16:12 +00:00
Fixed #35236 -- Used Field.attname/column attributes instead of get_attname()/get_attname_column().
This commit is contained in:
committed by
Mariusz Felisiak
parent
e0496b2e9a
commit
31314980be
@@ -2186,8 +2186,7 @@ class RawQuerySet:
|
||||
converter = connections[self.db].introspection.identifier_converter
|
||||
model_fields = {}
|
||||
for field in self.model._meta.fields:
|
||||
name, column = field.get_attname_column()
|
||||
model_fields[converter(column)] = field
|
||||
model_fields[converter(field.column)] = field
|
||||
return model_fields
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user