django-config-models
django-config-models copied to clipboard
fix: respect ConfigurationModel.enabled
ConfigurationModel.current()
does not respect the enabled flag and uses the same configuration values even though the configuration is disabled. This PR fixes the issue and uses default configs if the configurations are disabled using the ConfigurationModel.enabled
flag.