Plugin to show logfiles in the admin pane of a django project
Project description
Django Logfiles
This Django Admin plugin provides a simply way to view logfiles from the Django Admin panels.
Install it on your system using PIP:
pip install django-logfiles
Configuration can be set in settings.py:
INSTALLED_APPS = [
... # All other apps
'logfiles'
]
LOGFILES = {
'PATHS': ['/var/log/**.log'],
'TAIL': 100,
'SORT': ('-date',)
}
All settings are optional, so even if you don't provide any settings, the above settings are the default settings.
The example project allows to play around with the plugin.
It comes with an SQlite3 database with one superuser
named test
and password test
.
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_logfiles-1.0.3.tar.gz
(14.0 kB
view hashes)
Built Distribution
Close
Hashes for django_logfiles-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43e2f2f1be0c787432d50eb953f89776a1c16c0da8c35c0a0a0da440d284a49d |
|
MD5 | 6e93cc21fbf93570e008948df9e06ab6 |
|
BLAKE2b-256 | 5df383676b7871aa010bec6188dd336531be35894b783071cf1f54e448606ba5 |