Name | django-extra-settings JSON |
Version |
0.12.0
JSON |
| download |
home_page | |
Summary | config and manage typed extra settings using just the django admin. |
upload_time | 2024-02-27 11:38:47 |
maintainer | |
docs_url | None |
author | |
requires_python | |
license | MIT License Copyright (c) 2020-present Fabio Caccamo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
django
admin
extra
settings
options
conf
config
editable
custom
dynamic
typed
constance
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![](https://img.shields.io/pypi/pyversions/django-extra-settings.svg?color=3776AB&logo=python&logoColor=white)](https://www.python.org/)
[![](https://img.shields.io/pypi/djversions/django-extra-settings?color=0C4B33&logo=django&logoColor=white&label=django)](https://www.djangoproject.com/)
[![](https://img.shields.io/pypi/v/django-extra-settings.svg?color=blue&logo=pypi&logoColor=white)](https://pypi.org/project/django-extra-settings/)
[![](https://static.pepy.tech/badge/django-extra-settings/month)](https://pepy.tech/project/django-extra-settings)
[![](https://img.shields.io/github/stars/fabiocaccamo/django-extra-settings?logo=github&style=flat)](https://github.com/fabiocaccamo/django-extra-settings/stargazers)
[![](https://img.shields.io/pypi/l/django-extra-settings.svg?color=blue)](https://github.com/fabiocaccamo/django-extra-settings/blob/main/LICENSE.txt)
[![](https://results.pre-commit.ci/badge/github/fabiocaccamo/django-extra-settings/main.svg)](https://results.pre-commit.ci/latest/github/fabiocaccamo/django-extra-settings/main)
[![](https://img.shields.io/github/actions/workflow/status/fabiocaccamo/django-extra-settings/test-package.yml?branch=main&label=build&logo=github)](https://github.com/fabiocaccamo/django-extra-settings)
[![](https://img.shields.io/codecov/c/gh/fabiocaccamo/django-extra-settings?logo=codecov)](https://codecov.io/gh/fabiocaccamo/django-extra-settings)
[![](https://img.shields.io/codacy/grade/554c0505ed9844f3865bee975d1b894c?logo=codacy)](https://www.codacy.com/app/fabiocaccamo/django-extra-settings)
[![](https://img.shields.io/codeclimate/maintainability/fabiocaccamo/django-extra-settings?logo=code-climate)](https://codeclimate.com/github/fabiocaccamo/django-extra-settings/)
[![](https://img.shields.io/badge/code%20style-black-000000.svg?logo=python&logoColor=black)](https://github.com/psf/black)
[![](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
# django-extra-settings
config and manage typed extra settings using just the django admin.
![](https://user-images.githubusercontent.com/1035294/74425761-81325400-4e54-11ea-9095-3d64e1420bfe.gif)
## Installation
- Run `pip install django-extra-settings`
- Add `extra_settings` to `settings.INSTALLED_APPS`
- Run `python manage.py migrate`
- Run `python manage.py collectstatic`
- Restart your application server
- Just go to the admin where you can `create`, `update` and `delete` your settings.
## Usage
### Settings
All these settings are optional, if not defined in `settings.py` the default values (listed below) will be used.
```python
# the name of the installed app for registering the extra settings admin.
EXTRA_SETTINGS_ADMIN_APP = "extra_settings"
```
```python
# the name of the cache to use, if not found the "default" cache will be used.
EXTRA_SETTINGS_CACHE_NAME = "extra_settings"
```
```python
# a list of settings that will be available by default, each item must contain "name", "type" and "value".
# check the #types section to see all the supported settings types.
EXTRA_SETTINGS_DEFAULTS = [
{
"name": "SETTING_NAME",
"type": "string",
"value": "Hello World",
},
# ...
]
```
```python
# 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
```
```python
# the upload_to path value of settings of type 'file'
EXTRA_SETTINGS_FILE_UPLOAD_TO = "files"
```
```python
# the upload_to path value of settings of type 'image'
EXTRA_SETTINGS_IMAGE_UPLOAD_TO = "images"
```
```python
# if True, settings name prefix list filter will be shown in the admin changelist
EXTRA_SETTINGS_SHOW_NAME_PREFIX_LIST_FILTER = False
```
```python
# if True, settings type list filter will be shown in the admin changelist
EXTRA_SETTINGS_SHOW_TYPE_LIST_FILTER = False
```
```python
# the package name displayed in the admin
EXTRA_SETTINGS_VERBOSE_NAME = "Settings"
```
### Admin
You can display the settings model admin in another installed app group by using the `EXTRA_SETTINGS_ADMIN_APP` setting.
You can also have a more advanced control, by registering the settings admin with multiple installed apps and filtering each app settings using the `queryset_processor` argument.
> :warning: If you do either of the above, you must run migrations for each app that will display `extra_settings` model admin in its admin *(because django creates migrations even for proxy models)*.
#### Admin advanced configuration example
In your custom app `photos.admin` module:
```python
from extra_settings.admin import register_extra_settings_admin
register_extra_settings_admin(
app=__name__,
queryset_processor=lambda qs: qs.filter(name__istartswith="PHOTOS_"),
unregister_default=True,
)
```
In your custom app `videos.admin` module:
```python
from extra_settings.admin import register_extra_settings_admin
register_extra_settings_admin(
app=__name__,
queryset_processor=lambda qs: qs.filter(name__istartswith="VIDEOS_"),
unregister_default=True,
)
```
By default the `"extra_settings"` app has its own admin app group.
### Caching
You can customise the app caching options using `settings.CACHES["extra_settings"]` setting, otherwise the `"default"` cache will be used:
```python
CACHES = {
# ...
"extra_settings": {
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
"TIMEOUT": 60,
},
# ...
}
```
By default the `"extra_settings"` cache is used, if you want to use another cache you can set it using the `EXTRA_SETTINGS_CACHE_NAME` setting.
### Python
You can **create**, **read**, **update** and **delete** settings programmatically:
#### Types
This is the list of the currently supported setting types you may need to use:
- `Setting.TYPE_BOOL`
- `Setting.TYPE_DATE`
- `Setting.TYPE_DATETIME`
- `Setting.TYPE_DECIMAL`
- `Setting.TYPE_DURATION`
- `Setting.TYPE_EMAIL`
- `Setting.TYPE_FILE`
- `Setting.TYPE_FLOAT`
- `Setting.TYPE_IMAGE`
- `Setting.TYPE_INT`
- `Setting.TYPE_JSON`
- `Setting.TYPE_STRING`
- `Setting.TYPE_TEXT`
- `Setting.TYPE_TIME`
- `Setting.TYPE_URL`
#### Create
```python
from extra_settings.models import Setting
setting_obj = Setting(
name="SETTING_NAME",
value_type=Setting.TYPE_STRING,
value="django-extra-settings",
)
setting_obj.save()
```
#### Read
```python
from extra_settings.models import Setting
value = Setting.get("SETTING_NAME", default="django-extra-settings")
```
#### Update
```python
from extra_settings.models import Setting
setting_obj = Setting(
name="SETTING_NAME",
value_type=Setting.TYPE_BOOL,
value=True,
)
setting_obj.value = False
setting_obj.save()
```
#### Delete
```python
from extra_settings.models import Setting
Setting.objects.filter(name="SETTING_NAME").delete()
```
#### Validators
You can define a custom validator for each setting:
- Validators must be defined using full python path, eg. `myapp.mymodule.my_validator`.
- Validators are called passing a single argument (the value of the setting) and if the value is valid, they should return `True`, otherwise returning `False` or `None` a `ValidationError` is raised.
### Templates
You can retrieve settings in templates:
```html
{% load extra_settings %}
{% get_setting 'SETTING_NAME' default='django-extra-settings' %}
```
### Tests
You can override specific settings during tests using `extra_settings.test.override_settings`.
It can be used both as decorator and as context-manager:
```python
from extra_settings.test import override_settings
# decorator
@override_settings(SETTING_NAME_1="value for testing 1", SETTING_NAME_2="value for testing 2")
def test_with_custom_settings(self):
pass
# context manager
def test_with_custom_settings(self):
with override_settings(SETTING_NAME_1="value for testing 1", SETTING_NAME_2="value for testing 2"):
pass
```
## Testing
```bash
# clone repository
git clone https://github.com/fabiocaccamo/django-extra-settings.git && cd django-extra-settings
# create virtualenv and activate it
python -m venv venv && . venv/bin/activate
# upgrade pip
python -m pip install --upgrade pip
# install requirements
pip install -r requirements.txt -r requirements-test.txt
# install pre-commit to run formatters and linters
pre-commit install --install-hooks
# run tests
tox
# or
python runtests.py
# or
python -m django test --settings "tests.settings"
```
## License
Released under [MIT License](LICENSE.txt).
---
## Supporting
- :star: Star this project on [GitHub](https://github.com/fabiocaccamo/django-extra-settings)
- :octocat: Follow me on [GitHub](https://github.com/fabiocaccamo)
- :blue_heart: Follow me on [Twitter](https://twitter.com/fabiocaccamo)
- :moneybag: Sponsor me on [Github](https://github.com/sponsors/fabiocaccamo)
## See also
- [`django-admin-interface`](https://github.com/fabiocaccamo/django-admin-interface) - the default admin interface made customizable by the admin itself. popup windows replaced by modals. ๐ง โก
- [`django-colorfield`](https://github.com/fabiocaccamo/django-colorfield) - simple color field for models with a nice color-picker in the admin. ๐จ
- [`django-maintenance-mode`](https://github.com/fabiocaccamo/django-maintenance-mode) - shows a 503 error page when maintenance-mode is on. ๐ง ๐ ๏ธ
- [`django-redirects`](https://github.com/fabiocaccamo/django-redirects) - redirects with full control. โช๏ธ
- [`django-treenode`](https://github.com/fabiocaccamo/django-treenode) - probably the best abstract model / admin for your tree based stuff. ๐ณ
- [`python-benedict`](https://github.com/fabiocaccamo/python-benedict) - dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. ๐
- [`python-codicefiscale`](https://github.com/fabiocaccamo/python-codicefiscale) - encode/decode Italian fiscal codes - codifica/decodifica del Codice Fiscale. ๐ฎ๐น ๐ณ
- [`python-fontbro`](https://github.com/fabiocaccamo/python-fontbro) - friendly font operations. ๐งข
- [`python-fsutil`](https://github.com/fabiocaccamo/python-fsutil) - file-system utilities for lazy devs. ๐งโโ๏ธ
Raw data
{
"_id": null,
"home_page": "",
"name": "django-extra-settings",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "Fabio Caccamo <fabio.caccamo@gmail.com>",
"keywords": "django,admin,extra,settings,options,conf,config,editable,custom,dynamic,typed,constance",
"author": "",
"author_email": "Fabio Caccamo <fabio.caccamo@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/be/be/9bfb73fbea84364c16cc7e5486dc1d5690491b4d510d11eee89e109cce95/django-extra-settings-0.12.0.tar.gz",
"platform": null,
"description": "[![](https://img.shields.io/pypi/pyversions/django-extra-settings.svg?color=3776AB&logo=python&logoColor=white)](https://www.python.org/)\n[![](https://img.shields.io/pypi/djversions/django-extra-settings?color=0C4B33&logo=django&logoColor=white&label=django)](https://www.djangoproject.com/)\n\n[![](https://img.shields.io/pypi/v/django-extra-settings.svg?color=blue&logo=pypi&logoColor=white)](https://pypi.org/project/django-extra-settings/)\n[![](https://static.pepy.tech/badge/django-extra-settings/month)](https://pepy.tech/project/django-extra-settings)\n[![](https://img.shields.io/github/stars/fabiocaccamo/django-extra-settings?logo=github&style=flat)](https://github.com/fabiocaccamo/django-extra-settings/stargazers)\n[![](https://img.shields.io/pypi/l/django-extra-settings.svg?color=blue)](https://github.com/fabiocaccamo/django-extra-settings/blob/main/LICENSE.txt)\n\n[![](https://results.pre-commit.ci/badge/github/fabiocaccamo/django-extra-settings/main.svg)](https://results.pre-commit.ci/latest/github/fabiocaccamo/django-extra-settings/main)\n[![](https://img.shields.io/github/actions/workflow/status/fabiocaccamo/django-extra-settings/test-package.yml?branch=main&label=build&logo=github)](https://github.com/fabiocaccamo/django-extra-settings)\n[![](https://img.shields.io/codecov/c/gh/fabiocaccamo/django-extra-settings?logo=codecov)](https://codecov.io/gh/fabiocaccamo/django-extra-settings)\n[![](https://img.shields.io/codacy/grade/554c0505ed9844f3865bee975d1b894c?logo=codacy)](https://www.codacy.com/app/fabiocaccamo/django-extra-settings)\n[![](https://img.shields.io/codeclimate/maintainability/fabiocaccamo/django-extra-settings?logo=code-climate)](https://codeclimate.com/github/fabiocaccamo/django-extra-settings/)\n[![](https://img.shields.io/badge/code%20style-black-000000.svg?logo=python&logoColor=black)](https://github.com/psf/black)\n[![](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n# django-extra-settings\nconfig and manage typed extra settings using just the django admin.\n\n![](https://user-images.githubusercontent.com/1035294/74425761-81325400-4e54-11ea-9095-3d64e1420bfe.gif)\n\n## Installation\n- Run `pip install django-extra-settings`\n- Add `extra_settings` to `settings.INSTALLED_APPS`\n- Run `python manage.py migrate`\n- Run `python manage.py collectstatic`\n- Restart your application server\n- Just go to the admin where you can `create`, `update` and `delete` your settings.\n\n## Usage\n\n### Settings\nAll these settings are optional, if not defined in `settings.py` the default values (listed below) will be used.\n\n```python\n# the name of the installed app for registering the extra settings admin.\nEXTRA_SETTINGS_ADMIN_APP = \"extra_settings\"\n```\n\n```python\n# the name of the cache to use, if not found the \"default\" cache will be used.\nEXTRA_SETTINGS_CACHE_NAME = \"extra_settings\"\n```\n\n```python\n# a list of settings that will be available by default, each item must contain \"name\", \"type\" and \"value\".\n# check the #types section to see all the supported settings types.\nEXTRA_SETTINGS_DEFAULTS = [\n {\n \"name\": \"SETTING_NAME\",\n \"type\": \"string\",\n \"value\": \"Hello World\",\n },\n # ...\n]\n```\n\n```python\n# if True, settings names will be forced to honor the standard django settings format\nEXTRA_SETTINGS_ENFORCE_UPPERCASE_SETTINGS = True\n```\n\n```python\n# if True, the template tag will fallback to django.conf.settings,\n# very useful to retrieve conf settings such as DEBUG.\nEXTRA_SETTINGS_FALLBACK_TO_CONF_SETTINGS = True\n```\n\n```python\n# the upload_to path value of settings of type 'file'\nEXTRA_SETTINGS_FILE_UPLOAD_TO = \"files\"\n```\n\n```python\n# the upload_to path value of settings of type 'image'\nEXTRA_SETTINGS_IMAGE_UPLOAD_TO = \"images\"\n```\n\n```python\n# if True, settings name prefix list filter will be shown in the admin changelist\nEXTRA_SETTINGS_SHOW_NAME_PREFIX_LIST_FILTER = False\n```\n\n```python\n# if True, settings type list filter will be shown in the admin changelist\nEXTRA_SETTINGS_SHOW_TYPE_LIST_FILTER = False\n```\n\n```python\n# the package name displayed in the admin\nEXTRA_SETTINGS_VERBOSE_NAME = \"Settings\"\n```\n\n### Admin\nYou can display the settings model admin in another installed app group by using the `EXTRA_SETTINGS_ADMIN_APP` setting.\n\nYou can also have a more advanced control, by registering the settings admin with multiple installed apps and filtering each app settings using the `queryset_processor` argument.\n\n> :warning: If you do either of the above, you must run migrations for each app that will display `extra_settings` model admin in its admin *(because django creates migrations even for proxy models)*.\n\n#### Admin advanced configuration example\n\nIn your custom app `photos.admin` module:\n```python\nfrom extra_settings.admin import register_extra_settings_admin\n\nregister_extra_settings_admin(\n app=__name__,\n queryset_processor=lambda qs: qs.filter(name__istartswith=\"PHOTOS_\"),\n unregister_default=True,\n)\n```\n\nIn your custom app `videos.admin` module:\n```python\nfrom extra_settings.admin import register_extra_settings_admin\n\nregister_extra_settings_admin(\n app=__name__,\n queryset_processor=lambda qs: qs.filter(name__istartswith=\"VIDEOS_\"),\n unregister_default=True,\n)\n```\n\nBy default the `\"extra_settings\"` app has its own admin app group.\n\n\n\n### Caching\nYou can customise the app caching options using `settings.CACHES[\"extra_settings\"]` setting, otherwise the `\"default\"` cache will be used:\n\n```python\nCACHES = {\n # ...\n \"extra_settings\": {\n \"BACKEND\": \"django.core.cache.backends.locmem.LocMemCache\",\n \"TIMEOUT\": 60,\n },\n # ...\n}\n```\n\nBy default the `\"extra_settings\"` cache is used, if you want to use another cache you can set it using the `EXTRA_SETTINGS_CACHE_NAME` setting.\n\n### Python\nYou can **create**, **read**, **update** and **delete** settings programmatically:\n\n#### Types\nThis is the list of the currently supported setting types you may need to use:\n\n- `Setting.TYPE_BOOL`\n- `Setting.TYPE_DATE`\n- `Setting.TYPE_DATETIME`\n- `Setting.TYPE_DECIMAL`\n- `Setting.TYPE_DURATION`\n- `Setting.TYPE_EMAIL`\n- `Setting.TYPE_FILE`\n- `Setting.TYPE_FLOAT`\n- `Setting.TYPE_IMAGE`\n- `Setting.TYPE_INT`\n- `Setting.TYPE_JSON`\n- `Setting.TYPE_STRING`\n- `Setting.TYPE_TEXT`\n- `Setting.TYPE_TIME`\n- `Setting.TYPE_URL`\n\n#### Create\n```python\nfrom extra_settings.models import Setting\n\nsetting_obj = Setting(\n name=\"SETTING_NAME\",\n value_type=Setting.TYPE_STRING,\n value=\"django-extra-settings\",\n)\nsetting_obj.save()\n```\n\n#### Read\n```python\nfrom extra_settings.models import Setting\n\nvalue = Setting.get(\"SETTING_NAME\", default=\"django-extra-settings\")\n```\n\n#### Update\n```python\nfrom extra_settings.models import Setting\n\nsetting_obj = Setting(\n name=\"SETTING_NAME\",\n value_type=Setting.TYPE_BOOL,\n value=True,\n)\nsetting_obj.value = False\nsetting_obj.save()\n```\n\n#### Delete\n```python\nfrom extra_settings.models import Setting\n\nSetting.objects.filter(name=\"SETTING_NAME\").delete()\n```\n\n#### Validators\nYou can define a custom validator for each setting:\n- Validators must be defined using full python path, eg. `myapp.mymodule.my_validator`.\n- Validators are called passing a single argument (the value of the setting) and if the value is valid, they should return `True`, otherwise returning `False` or `None` a `ValidationError` is raised.\n\n### Templates\nYou can retrieve settings in templates:\n```html\n{% load extra_settings %}\n\n{% get_setting 'SETTING_NAME' default='django-extra-settings' %}\n```\n\n### Tests\nYou can override specific settings during tests using `extra_settings.test.override_settings`.\n\nIt can be used both as decorator and as context-manager:\n```python\nfrom extra_settings.test import override_settings\n\n# decorator\n@override_settings(SETTING_NAME_1=\"value for testing 1\", SETTING_NAME_2=\"value for testing 2\")\ndef test_with_custom_settings(self):\n pass\n\n# context manager\ndef test_with_custom_settings(self):\n with override_settings(SETTING_NAME_1=\"value for testing 1\", SETTING_NAME_2=\"value for testing 2\"):\n pass\n```\n\n## Testing\n```bash\n# clone repository\ngit clone https://github.com/fabiocaccamo/django-extra-settings.git && cd django-extra-settings\n\n# create virtualenv and activate it\npython -m venv venv && . venv/bin/activate\n\n# upgrade pip\npython -m pip install --upgrade pip\n\n# install requirements\npip install -r requirements.txt -r requirements-test.txt\n\n# install pre-commit to run formatters and linters\npre-commit install --install-hooks\n\n# run tests\ntox\n# or\npython runtests.py\n# or\npython -m django test --settings \"tests.settings\"\n```\n\n## License\nReleased under [MIT License](LICENSE.txt).\n\n---\n\n## Supporting\n\n- :star: Star this project on [GitHub](https://github.com/fabiocaccamo/django-extra-settings)\n- :octocat: Follow me on [GitHub](https://github.com/fabiocaccamo)\n- :blue_heart: Follow me on [Twitter](https://twitter.com/fabiocaccamo)\n- :moneybag: Sponsor me on [Github](https://github.com/sponsors/fabiocaccamo)\n\n## See also\n\n- [`django-admin-interface`](https://github.com/fabiocaccamo/django-admin-interface) - the default admin interface made customizable by the admin itself. popup windows replaced by modals. \ud83e\uddd9 \u26a1\n\n- [`django-colorfield`](https://github.com/fabiocaccamo/django-colorfield) - simple color field for models with a nice color-picker in the admin. \ud83c\udfa8\n\n- [`django-maintenance-mode`](https://github.com/fabiocaccamo/django-maintenance-mode) - shows a 503 error page when maintenance-mode is on. \ud83d\udea7 \ud83d\udee0\ufe0f\n\n- [`django-redirects`](https://github.com/fabiocaccamo/django-redirects) - redirects with full control. \u21aa\ufe0f\n\n- [`django-treenode`](https://github.com/fabiocaccamo/django-treenode) - probably the best abstract model / admin for your tree based stuff. \ud83c\udf33\n\n- [`python-benedict`](https://github.com/fabiocaccamo/python-benedict) - dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. \ud83d\udcd8\n\n- [`python-codicefiscale`](https://github.com/fabiocaccamo/python-codicefiscale) - encode/decode Italian fiscal codes - codifica/decodifica del Codice Fiscale. \ud83c\uddee\ud83c\uddf9 \ud83d\udcb3\n\n- [`python-fontbro`](https://github.com/fabiocaccamo/python-fontbro) - friendly font operations. \ud83e\udde2\n\n- [`python-fsutil`](https://github.com/fabiocaccamo/python-fsutil) - file-system utilities for lazy devs. \ud83e\udddf\u200d\u2642\ufe0f\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2020-present Fabio Caccamo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "config and manage typed extra settings using just the django admin.",
"version": "0.12.0",
"project_urls": {
"Documentation": "https://github.com/fabiocaccamo/django-extra-settings#readme",
"Download": "https://github.com/fabiocaccamo/django-extra-settings/releases",
"Funding": "https://github.com/sponsors/fabiocaccamo/",
"Homepage": "https://github.com/fabiocaccamo/django-extra-settings",
"Issues": "https://github.com/fabiocaccamo/django-extra-settings/issues",
"Twitter": "https://twitter.com/fabiocaccamo"
},
"split_keywords": [
"django",
"admin",
"extra",
"settings",
"options",
"conf",
"config",
"editable",
"custom",
"dynamic",
"typed",
"constance"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4f8692bf77920482e371f09540182c4cc090bbe421b299d3065347e4b47ffd5e",
"md5": "6f277b1f789d6de0289ad94f76e395ec",
"sha256": "a397beb203cec76c74dfa7735254c321a20b158681436f8b93858ab121f071e2"
},
"downloads": -1,
"filename": "django_extra_settings-0.12.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6f277b1f789d6de0289ad94f76e395ec",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 28623,
"upload_time": "2024-02-27T11:38:46",
"upload_time_iso_8601": "2024-02-27T11:38:46.188032Z",
"url": "https://files.pythonhosted.org/packages/4f/86/92bf77920482e371f09540182c4cc090bbe421b299d3065347e4b47ffd5e/django_extra_settings-0.12.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bebe9bfb73fbea84364c16cc7e5486dc1d5690491b4d510d11eee89e109cce95",
"md5": "0ef707c030c7cfb91f0bfd2e0de9eab4",
"sha256": "8b49c63c033197d26f1f9d1d85d89cbe0f6eaff07bcbdedfa10df0e2598289d1"
},
"downloads": -1,
"filename": "django-extra-settings-0.12.0.tar.gz",
"has_sig": false,
"md5_digest": "0ef707c030c7cfb91f0bfd2e0de9eab4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21207,
"upload_time": "2024-02-27T11:38:47",
"upload_time_iso_8601": "2024-02-27T11:38:47.557026Z",
"url": "https://files.pythonhosted.org/packages/be/be/9bfb73fbea84364c16cc7e5486dc1d5690491b4d510d11eee89e109cce95/django-extra-settings-0.12.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-27 11:38:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fabiocaccamo",
"github_project": "django-extra-settings#readme",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "django-extra-settings"
}