Skip to content

v2.4.7

Latest

Choose a tag to compare

@mlebreuil mlebreuil released this 16 Aug 15:41
bb3ebc7

What's Changed

  • #303 Gracefully skip supported_models entries that don't resolve to a registered Django model instead of raising an unhandled LookupError during app startup (which previously crashed every management command, including migrate). This most commonly affects models created dynamically by other plugins (e.g. netbox_custom_objects custom object types), whose registration order relative to netbox_contract is not guaranteed. A clear error is now logged (netbox.plugins.netbox_contract) naming the offending entry, and the rest of the plugin continues to load normally.