Skip to main content
https://img.shields.io/pypi/v/django-admin-logs.svg https://img.shields.io/travis/radwon/django-admin-logs.svg https://img.shields.io/codecov/c/github/radwon/django-admin-logs.svg

Log entries are automatically created by the Django framework whenever a user adds, changes or deletes objects through the admin interface.

Django Admin Logs is a package that allows you to either view the admin log entries from within the admin interface, or to disable them entirely.

Requirements

  • Python 3.5+

  • Django 2.1+

Installation

Install the package from PyPI:

pip install django-admin-logs

Then add it to your INSTALLED_APPS in the settings file:

INSTALLED_APPS = (
    ...
    'django_admin_logs',
    ...
)

Configuration

By default, Django Admin Logs enables log entries to be viewed from within the admin interface but does not allow them to be deleted. Either of these options can be configured by adding the following to your settings file.

DJANGO_ADMIN_LOGS_DELETABLE = True

This allows super users, or any staff users with the delete_logentry permission, to delete log entries from within the admin interface.

DJANGO_ADMIN_LOGS_ENABLED = False

This disables admin log entries so that they are no longer created by the Django framework or viewable from the within the admin interface.

Development

From the local project directory, activate the virtual environment and install the development requirements:

pip install -r requirements_dev.txt

To run tests for all supported Python and Django versions using tox:

tox

To run tests for specific versions e.g. Python 3.8 and Django 3.0:

tox -e py38-django30

Changelog

1.0.0 (2020-03-03)

  • Initial release

Metadata

Release files for django-admin-logs 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-admin-logs 1.0.0
File Size Uploaded
django-admin-logs-1.0.0.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-logs 1.0.0
File Interpreter ABI Platform
django_admin_logs-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / django-admin-logs-1.0.0.tar.gz

Download URL django-admin-logs-1.0.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8fd3fccfa5ed1fba8026cbc6ca30f46c8faadc84ff2c70832a554ac157238602
BLAKE2b-256 checksum
How to use checksums
00379d346e6911d525522131af89794b61cce5573360e635ebd23446ca31ad8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

Release files / django_admin_logs-1.0.0-py3-none-any.whl

Download URL django_admin_logs-1.0.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7d66faaada4df063da26990776f8e315f94349a579affcfa5cab78bfa8e7a08
BLAKE2b-256 checksum
How to use checksums
6e496b87c816e7397924db6f7d791566b1c136604415f46dde66c304805f33b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

Release history Release notifications | RSS feed

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page