mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-19 08:37:09 +01:00
* Fixes #17490: Config Template unable to dynamically include templates * Cast the generator returned by find_referenced_templates() to an iterable to avoid exhausting it on the check for None Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com> * Apply the path__in filter to avoid duplicating code Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com> * Remove extra if None not in referenced_templates --------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>