diff --git a/CHANGELOG.md b/CHANGELOG.md index ae98be5..52396ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.0](https://github.com/fabiocaccamo/django-extra-settings/releases/tag/0.2.0) - 2022-01-18 +- Added `description` to setting model. #16 - Credits: [@obdulia-losantos](https://github.com/obdulia-losantos) +- Added `EXTRA_SETTINGS_ENFORCE_UPPERCASE_SETTINGS` setting (default `True`). +- Added `EXTRA_SETTINGS_SHOW_TYPE_LIST_FILTER` setting (default `False`). +- Fixed missing comma in tests settings `MIDDLEWARE_CLASSES`. #14 + ## [0.1.4](https://github.com/fabiocaccamo/django-extra-settings/releases/tag/0.1.4) - 2021-12-08 - Added `python 3.10` support. - Added `django 4.0` support. diff --git a/README.md b/README.md index fc33c64..5b62f19 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,12 @@ Just go to the admin where you can: All these settings are optional, if not defined in ``settings.py`` the default values (listed below) will be used. ```python -# if True the template tag will fallback to django.conf.settings, +# if True, settings names will be forced to honor the standard django settings format +EXTRA_SETTINGS_ENFORCE_UPPERCASE_SETTINGS = True +``` + +```python +# if True, the template tag will fallback to django.conf.settings, # very useful to retrieve conf settings such as DEBUG. EXTRA_SETTINGS_FALLBACK_TO_CONF_SETTINGS = True ``` @@ -52,6 +57,11 @@ EXTRA_SETTINGS_FILE_UPLOAD_TO = 'files' EXTRA_SETTINGS_IMAGE_UPLOAD_TO = 'images' ``` +```python +# if True, settings type list filter will be shown in the admin changelist +EXTRA_SETTINGS_SHOW_TYPE_LIST_FILTER = False +``` + ### Admin Just go to the admin where you can: - Create a new setting diff --git a/extra_settings/version.py b/extra_settings/version.py index 514c7db..355af16 100644 --- a/extra_settings/version.py +++ b/extra_settings/version.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- -__version__ = '0.1.4' +__version__ = '0.2.0'