mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-24 10:58:52 +01:00
formatting
This commit is contained in:
parent
038894af1c
commit
5c1a28ef33
@ -261,7 +261,7 @@ class SpreadsheetExportMixin:
|
||||
model_class = queryset.model
|
||||
except AttributeError:
|
||||
return force_str(field)
|
||||
|
||||
|
||||
for model in relation:
|
||||
foreign_field = model_class._meta.get_field(model)
|
||||
model_class = foreign_field.related_model
|
||||
|
Loading…
Reference in New Issue
Block a user