mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
d2fea4edc4
* Move L2VPN and L2VPNTermination models from ipam to vpn * Move L2VPN resources from ipam to vpn * Extend migration to update content types * Misc cleanup
8 lines
203 B
Python
8 lines
203 B
Python
from django.db.models import Q
|
|
|
|
L2VPN_ASSIGNMENT_MODELS = Q(
|
|
Q(app_label='dcim', model='interface') |
|
|
Q(app_label='ipam', model='vlan') |
|
|
Q(app_label='virtualization', model='vminterface')
|
|
)
|