django-logentry-admin
raw JSON → 1.1.0 verified Fri May 01 auth: no python
A Django app that provides a read-only view of LogEntry objects in the Django admin site, allowing you to see all admin actions easily. Current version: 1.1.0.
pip install django-logentry-admin Common errors
error ModuleNotFoundError: No module named 'logentry_admin' ↓
cause The app is not installed or not added to INSTALLED_APPS.
fix
Run 'pip install django-logentry-admin' and add 'logentry_admin' to INSTALLED_APPS.
error AttributeError: module 'logentry_admin' has no attribute 'admin' ↓
cause Incorrect import path; trying to import from the top-level package.
fix
Use 'from logentry_admin.admin import LogEntryAdmin'.
error ImproperlyConfigured: Application labels aren't unique, duplicates: logentry_admin ↓
cause The app is installed twice in INSTALLED_APPS.
fix
Remove duplicate entry; keep only one 'logentry_admin' in INSTALLED_APPS.
Warnings
gotcha This app only provides a read-only admin view. You cannot add, edit, or delete log entries through the admin interface. ↓
fix Use Django's built-in admin or a custom solution if mutability is needed.
deprecated The library may be considered feature-complete and has not been updated extensively. Verify compatibility with your Django version before using in production. ↓
fix Test with your Django version; consider alternatives if updates are needed.
gotcha LogEntryAdmin uses the default admin registration; if you have already unregistered or customized LogEntry admin, this app may conflict. ↓
fix Ensure LogEntry model is not already registered elsewhere, or customize the app's registration.
Imports
- LogEntryAdmin
from logentry_admin.admin import LogEntryAdmin
Quickstart
# settings.py
INSTALLED_APPS = [
...
'logentry_admin',
]
# urls.py (if needed, though the admin view is auto-registered)
# Ensure django.contrib.admin is also in INSTALLED_APPS.
# The admin view becomes available at /admin/logentry/logentry/