Skip to main content

配置模块

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xj_dictionary-1.0.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file xj_dictionary-1.0.0.tar.gz.

File metadata

  • Download URL: xj_dictionary-1.0.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for xj_dictionary-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b2ebf58ca084d9c780141edad38b3828e2f43021cdd240ffb490101463e8c4f6
MD5 71b5fb214f7ed02feb426b4ea1381d6a
BLAKE2b-256 fd31e17b30d873ac9e37a0bbda6294f572f30bbbd24dac9af3dc56d642700680

See more details on using hashes here.

File details

Details for the file xj_dictionary-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: xj_dictionary-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for xj_dictionary-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afec5db1644672733069843c12a1200892660a845a58f1f133996f31a32fd373
MD5 0365d47d9d78908c877aedc088fbca11
BLAKE2b-256 9e7ae4c2dd8043d7452aa7eb7339d9dfb2bc4fb84986aaf6c3f03790365e88b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page