1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Extend admin UI to allow restoring previous config revisions

This commit is contained in:
jeremystretch
2021-10-27 14:05:49 -04:00
parent 77bd26d17f
commit 70f71e0f57
5 changed files with 100 additions and 5 deletions

View File

@ -172,4 +172,4 @@ def update_config(sender, instance, **kwargs):
"""
Update the cached NetBox configuration when a new ConfigRevision is created.
"""
instance.cache()
instance.activate()