mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-27 19:27:33 +02:00
Fix graph:type choices under /api/extras/_choices/
This commit is contained in:
@@ -38,7 +38,7 @@ class Migration(migrations.Migration):
|
||||
model_name='graph',
|
||||
name='type',
|
||||
field=models.ForeignKey(
|
||||
limit_choices_to={'model__in': ['device', 'interface', 'provider', 'site']},
|
||||
limit_choices_to={'model__in': ['provider', 'device', 'interface', 'site']},
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
to='contenttypes.ContentType'
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user