diff options
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r-- | ishtar_common/wizards.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 2d000e423..1aafef6e7 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -744,7 +744,7 @@ class Wizard(IshtarWizard): m = getattr(self.model, dependant_item) if callable(m): m = m() - model = m.field.rel.to + model = m.field.remote_field.model c_dct = other_objs[dependant_item].copy() if issubclass(model, models.BaseHistorizedItem): c_dct["history_modifier"] = self.request.user |