forked from openwisp/openwisp-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Update related config when template default_values are changed
The config related to a template were not being flagged for update when default_values were changed. Moreover, during debugging, I found out that in some cases the action was being performed even if there were no real changes, the only difference being the new value was an instance of dict while the value loaded from the model is an instance of OrderedDict. This change fixes both issues.
- Loading branch information
1 parent
460c86c
commit 1105698
Showing
2 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters