Allows download django log file via api
Project description
django-log-api
Allows download django log file via api
Requirements
- django >= 2.2
- djangorestframework >= 3.9.2
- tailhead
Installation
- Install package
pip install django-log-api
# or
poetry add django-log-api
- Add to the INSTALLED_APPS
settings.py
INSTALLED_APPS = [
...,
"log_api",
]
- add to urls.py
path(r"logs/", include("log_api.urls")),
parameters:
- name: log file name
- tail: if null, download entire log file, others the tail lines number
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
django-log-api-0.1.2.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for django_log_api-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb1d4cc734d30b54ec6fa19c45ddb63fe19084d99128e26dd852039fa8d698a6 |
|
MD5 | 06672b6aa6e02ca976d96b276caab112 |
|
BLAKE2b-256 | d4de2155feb580cf4938c23077e49cf81cf163df7645022b8a5d6685d6a36759 |