mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-24 17:58:43 +02:00
Closes #17166: Remove obsolete limit_choices_to argument from ForeignKey & M2M fields
This commit is contained in:
@@ -136,14 +136,6 @@ class Migration(migrations.Migration):
|
||||
name='assigned_object_type',
|
||||
field=models.ForeignKey(
|
||||
blank=True,
|
||||
limit_choices_to=models.Q(
|
||||
models.Q(
|
||||
models.Q(('app_label', 'dcim'), ('model', 'interface')),
|
||||
models.Q(('app_label', 'ipam'), ('model', 'fhrpgroup')),
|
||||
models.Q(('app_label', 'virtualization'), ('model', 'vminterface')),
|
||||
_connector='OR',
|
||||
)
|
||||
),
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.PROTECT,
|
||||
related_name='+',
|
||||
|
||||
Reference in New Issue
Block a user