django-config-models icon indicating copy to clipboard operation
django-config-models copied to clipboard

fix: respect ConfigurationModel.enabled

Open asadali145 opened this issue 9 months ago • 1 comments

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.

asadali145 avatar May 20 '24 09:05 asadali145