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.1 (2020-08-16)

  • Added support for Django 3.1

1.0.0 (2020-03-03)

  • Initial release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-admin-logs-1.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

django_admin_logs-1.0.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file django-admin-logs-1.0.1.tar.gz.

File metadata

  • Download URL: django-admin-logs-1.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.6

File hashes

Hashes for django-admin-logs-1.0.1.tar.gz
Algorithm Hash digest
SHA256 565ea1e86c9b702c0274b648ed6c0be937b3086d65b664dd635ce00475d4ed39
MD5 e844b25eb9fe297df104512b337fd204
BLAKE2b-256 7a98c84f1211b2ebdbea7bcac94acff506adc6f21a5cd66633308711d096f4f9

See more details on using hashes here.

File details

Details for the file django_admin_logs-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: django_admin_logs-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.6

File hashes

Hashes for django_admin_logs-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a68d4887f895d42f7fbb55fdc5f8a85edb99f696b8d722370bfd7083aa95aeec
MD5 081c264f9c2791b05e1776d9f9b69d21
BLAKE2b-256 ecb6fe46b843502ec02173403217de243b807eae7f6f0183d50ec45be70eac09

See more details on using hashes here.

Release history Release notifications | RSS feed

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.2

2 files

This release

1.0.1 This release

2 files

1.0.0

2 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