配置模块
Project description
安装前必看
安装步骤
-
pip install django_simple_api
-
配置 INSTALLED_APPS 添加'django_simple_api;
-
配置配置setting 中间件 'django.middleware.security.SecurityMiddleware',
接口:
configure:全部配置信息
configure/<str:group> 按照分则查询
configure/<str:group>/<str:key> 按照分组和key查询
SQL
CREATE TABLE `dictionary_configure` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`group` varchar(128) NOT NULL,
`key` varchar(128) NOT NULL,
`value` longtext NOT NULL,
`description` varchar(255) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `dictionary_configure_group_key_d0e0a692_uniq` (`group`,`key`) USING BTREE,
KEY `dictionary_configure_group_09d9ee65` (`group`) USING BTREE,
KEY `dictionary_configure_key_52d53a3c` (`key`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
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
xj_dictionary-1.0.0.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for xj_dictionary-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afec5db1644672733069843c12a1200892660a845a58f1f133996f31a32fd373 |
|
MD5 | 0365d47d9d78908c877aedc088fbca11 |
|
BLAKE2b-256 | 9e7ae4c2dd8043d7452aa7eb7339d9dfb2bc4fb84986aaf6c3f03790365e88b9 |