Django数据字典管理应用。
Project description
django-app-metadata
Django数据字典管理应用。
安装
pip install django-app-metadata
使用
app/views.py
from django_app_metadata.models import Config
def get_config(request):
key = reqeust.GET.get("key")
value = Config.get(key, default=None, default_published=True, frontend_flag=True)
return value
版本记录
v0.1.0
- 版本首发。
- 数据字典管理。
- 数据字典获取支持缓存。
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-app-metadata-0.1.0.tar.gz
(11.5 kB
view details)
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-app-metadata-0.1.0.tar.gz.
File metadata
- Download URL: django-app-metadata-0.1.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b5010ee4d4c36f3bcfd115f1b0c4aea224dfcd8a8908a86abc3b021c1b3f4a
|
|
| MD5 |
fb22ed88a36027b8713653fc8f6f753b
|
|
| BLAKE2b-256 |
0582a324dc8ab7ef3f2380c147d51477e8032235a9d5a65f8c36715e4d826980
|
File details
Details for the file django_app_metadata-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_app_metadata-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
316cfeb4ab7d909a5114f3ddd378b188e2cd14b4af71d952a419850559f37a17
|
|
| MD5 |
f3b6949b080c55461665af5c3f94e5ed
|
|
| BLAKE2b-256 |
7b429907a4bff7f23ac21b963b0f98f377ee5f6a071fc0da3055b70f3489264d
|