def get_limit_choices_to(self):
        if callable(self.remote_field.limit_choices_to):
            return self.remote_field.limit_choices_to()
        return self.remote_field.limit_choices_to
Return ``limit_choices_to`` for this model field.
dataset/ETHPy150Open django/django/django/db/models/fields/related.py/RelatedField.get_limit_choices_to