diff --git a/src/ralph/lib/mixins/fields.py b/src/ralph/lib/mixins/fields.py index b78a207e6f..be3fbfeca3 100644 --- a/src/ralph/lib/mixins/fields.py +++ b/src/ralph/lib/mixins/fields.py @@ -232,6 +232,9 @@ def deconstruct(self): def limit_choices_to(self): return self.limit_choices() + def get_limit_choices_to(self): + return self.limit_choices() + def limit_choices(self): """ Add limit_choices_to search by content_type for models