mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-15 08:12:18 -06:00
Closes #17166: Remove obsolete limit_choices_to argument from ForeignKey & M2M fields
This commit is contained in:
@@ -1225,7 +1225,6 @@ class MACAddress(PrimaryModel):
|
||||
)
|
||||
assigned_object_type = models.ForeignKey(
|
||||
to='contenttypes.ContentType',
|
||||
limit_choices_to=MACADDRESS_ASSIGNMENT_MODELS,
|
||||
on_delete=models.PROTECT,
|
||||
related_name='+',
|
||||
blank=True,
|
||||
|
||||
Reference in New Issue
Block a user