Metadata-Version: 2.1
Name: django-admin-compare
Version: 0.1
Summary: adds an action 'compare' to the admin panel on a page with a list of objects.
Home-page: https://github.com/meat-source/django-admin-compare
Author: Slava Ukolov
Author-email: ukolovsl88@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.4
Description-Content-Type: text/markdown
Requires-Dist: Django (>=3.2)
Requires-Dist: numpy

# Django-admin-compare

adds an action `compare` to the admin panel on a page with a list of objects.

use somewhere in admin.py:
```
from django_admin_compare.action import compare

class ArticleAdmin(admin.ModelAdmin):
    list_display = ['title', 'status']
    ordering = ['title']
    actions = [compare]  #add compare in action
```

Use css class `table` `table-compile` for override style.

For example, you can add when you redefine the django template change_list.html.

requires: Django>=3.2 ,<4 but it will probably work on other versions as well
#### License MIT

