Django Variable
Project description
Django Variable
django_variable is a library to define dynamic global settings that can be set within a regular django form and edited within django's admin panel.
How it works
Set the config values using admin (admin/variable_config/configuration/) Those values are persisted in the database (one per row) and stored in an in-memory cache for later access.
Compatibility
- Python +3.8
- Django >= 5
Documentation
License
MIT
Usage
from django_variable.utils import get_config
get_config('KEY_CONFIG', 'DEFAULT_VALUE')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_variable-0.1.2.tar.gz.
File metadata
- Download URL: django_variable-0.1.2.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e4a3e977752b26fa638d15c36f796abb9507190512e15b6778418fd8c8569e1
|
|
| MD5 |
242e94f5f340f439a998d755d01be866
|
|
| BLAKE2b-256 |
04714cc921923c29aa85b3b105d1d3e97730cb5a4d0cdcee3b5e8ebd24fc305b
|
Provenance
The following attestation bundles were made for django_variable-0.1.2.tar.gz:
Publisher:
publish.yml on jeissonp/django-variable
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_variable-0.1.2.tar.gz -
Subject digest:
3e4a3e977752b26fa638d15c36f796abb9507190512e15b6778418fd8c8569e1 - Sigstore transparency entry: 150540687
- Sigstore integration time:
-
Permalink:
jeissonp/django-variable@e0cea214d284f9c78f4bfabe0cf1ff79641732a1 -
Branch / Tag:
refs/tags/0.1.1_updated - Owner: https://github.com/jeissonp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e0cea214d284f9c78f4bfabe0cf1ff79641732a1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file django_variable-0.1.2-py3-none-any.whl.
File metadata
- Download URL: django_variable-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e668e8bb50cc23c47425d610a716d785fc8602efba54344550605adc9b41142e
|
|
| MD5 |
fa3e39cbef5d09ea0963b91c45b40051
|
|
| BLAKE2b-256 |
843226adda86a4686a4348c2ad12e3b33633b43a1f76974ce60f3fbb31671046
|
Provenance
The following attestation bundles were made for django_variable-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on jeissonp/django-variable
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_variable-0.1.2-py3-none-any.whl -
Subject digest:
e668e8bb50cc23c47425d610a716d785fc8602efba54344550605adc9b41142e - Sigstore transparency entry: 150540689
- Sigstore integration time:
-
Permalink:
jeissonp/django-variable@e0cea214d284f9c78f4bfabe0cf1ff79641732a1 -
Branch / Tag:
refs/tags/0.1.1_updated - Owner: https://github.com/jeissonp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e0cea214d284f9c78f4bfabe0cf1ff79641732a1 -
Trigger Event:
release
-
Statement type: