mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-23 01:50:26 +01:00
Upgrade django-mptt to 0.18.0 and add empty indexes tuple to MPTT model Meta classes. The empty tuple triggers Django's migration detection for indexes that django-mptt adds dynamically (see django-mptt/django-mptt#682). We cannot define the indexes explicitly because the MPTT fields don't exist when the Meta class is evaluated. Affected models: Region, SiteGroup, Location, DeviceRole, Platform, ModuleBay, InventoryItem, InventoryItemTemplate, TenantGroup, ContactGroup, WirelessLANGroup