=====================
django-logentry-admin
|travis-ci| |coverage| |requires-io| |pypi-version|
Show all LogEntry objects in the Django admin site.
Originally based on: Django snippet 2484 <http://djangosnippets.org/snippets/2484/>
_
Supported versions
- Django 3.2, 3.1, 2.2
- Python 3.9, 3.8, 3.7, 3.6, 3.5
Installation
Install by using pip or easy_install:
.. code-block:: bash
pip install django-logentry-admin
Or install from source:
.. code-block:: bash
git clone git@github.com:yprez/django-logentry-admin.git
cd django-logentry-admin
python setup.py install
To add this application into your project, just add it to your INSTALLED_APPS
setting:
.. code-block:: python
INSTALLED_APPS = (
...
'logentry_admin',
)
Running tests
Test on all Python / Django versions with tox:
.. code-block:: bash
$ pip install tox
$ tox
Or just a specific Django / Python version:
.. code-block:: bash
$ tox -e py35-django19
Or run on multiple CPUs in parallel with detox to make it faster:
.. code-block:: bash
$ pip install detox
$ detox
.. |travis-ci| image:: http://img.shields.io/travis/yprez/django-logentry-admin/master.svg?style=flat
:target: http://travis-ci.org/yprez/django-logentry-admin
.. |coverage| image:: https://img.shields.io/coveralls/yprez/django-logentry-admin.svg?branch=master
:target: https://coveralls.io/r/yprez/django-logentry-admin?branch=coveralls
.. |pypi-version| image:: http://img.shields.io/pypi/v/django-logentry-admin.svg?style=flat
:target: https://pypi.python.org/pypi/django-logentry-admin
.. |requires-io| image:: https://img.shields.io/requires/github/yprez/django-logentry-admin.svg
:target: https://requires.io/github/yprez/django-logentry-admin/requirements/?branch=master
=========
Changelog
v1.1.0 - 25/05/2021
- Add tests/support for Django 3.2, 3.1.
- Add tests/support for Python 3.9.
- Drop support for Python 2.7, 3.4.
- Drop support for Django 1.x, 2.0, 2.1.
v1.0.6 - 23/04/2020
- Add tests for Python 3.8, Django 3.0.
- Fix including locale files in wheel package.
v1.0.5 - 30/07/2019
- Test on Python 3.7.
- Add tests for Django 2.1.
- Add tests for Django 2.2.
- Remove tests for Django 1.7.
- Fix translations, include locale files in the package.
v1.0.4 - 17/06/2018
- Fix admin links for Django 2.0.
v1.0.3 - 14/12/2017
- Add tests for Django 1.11 and 2.0 compatibility.
- Drop support for Python 3.2, 3.3.
- Make short_descriptions translatable in admin.py.
- Make use of new get_change_message() method on Django >= 1.11.
- Add Russian, Azerbaijani and Portuguese translations.
v1.0.2 - 12/08/2016
- Add tests for Django 1.10 compatibility.
v1.0.1 - 24/07/2016
- Add tests and support for Django 1.9 and Python 3.5.
- Drop support for Python 2.5, 2.6, Django 1.4, 1.5, 1.6.
- Fix AttributeError when content_type is None, issue
#21 <https://github.com/yprez/django-logentry-admin/issues/21>
_. - Show log entries for users with change_logentry permission,
#25 <https://github.com/yprez/django-logentry-admin/pull/25>
_. - Test with py.test instead of unittest.
v0.1.5 - 17/02/2015
- Django 1.8 compatibility.
v0.1.4 - 28/09/2014
- Added Django 1.7 compatibility.
- Fixed compatibility issues with Django 1.5, 1.4 and Python 3.2.
- Added tests.
v0.1.3 - 02/06/2014
- Improved display layout.
- Added links to user and object.
- Added "By staff user" filter.
- Don't allow delete action for LogEntry.
- Better performance by prefetching content types.
v0.1.2 - 26/08/2013
- Added an empty model.py file.
- Minor documentation (readme) updates/fixes.
v0.1.1 - 28/12/2011
- Added object links and action description.
v0.1.0 - 26/12/2011