Closes #17166: Remove obsolete limit_choices_to argument from ForeignKey & M2M fields

This commit is contained in:
Jeremy Stretch
2025-04-03 09:17:20 -04:00
parent 6a966ee6c1
commit d93d398afa
30 changed files with 2 additions and 224 deletions

View File

@@ -742,7 +742,6 @@ class IPAddress(ContactsMixin, PrimaryModel):
)
assigned_object_type = models.ForeignKey(
to='contenttypes.ContentType',
limit_choices_to=IPADDRESS_ASSIGNMENT_MODELS,
on_delete=models.PROTECT,
related_name='+',
blank=True,