A Duration Log Tool for Django
Project description
Django Duration Log
注册到 installed_apps
中
INSTALLED_APPS = [
"corsheaders",
"django_duration_log",
···
]
添加 middleware
MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
"django_duration_log.middlewares.DjangoDurationLogMiddleware",
···
]
配置环境变量
INFLUXDB_ACCESS_TOKEN = os.getenv("INFLUXDB_ACCESS_TOKEN")
INFLUXDB_ORG = os.getenv("INFLUXDB_ORG")
INFLUXDB_BUCKET = os.getenv("INFLUXDB_BUCKET")
INFLUXDB_URL = os.getenv("INFLUXDB_URL")
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
File details
Details for the file django_duration_log-0.0.4.tar.gz
.
File metadata
- Download URL: django_duration_log-0.0.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac2acb7dd9bc2dff8fe569035e855d06bbf4e3ef6cee9262ddd1cb54fc1a4c58 |
|
MD5 | 3ba2b11656a7b0975e6020739080dd6b |
|
BLAKE2b-256 | 3dcdcbad4fa6c41bac67888b0436567a9c54da6370ddf6271e2aa9e7551c394a |