Skip to content

Commit

Permalink
Updated README, CHANGELOG and version.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Jan 17, 2022
1 parent 2304d5c commit 4332649
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion extra_settings/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

__version__ = '0.1.4'
__version__ = '0.2.0'

0 comments on commit 4332649

Please sign in to comment.