Skip to content

Commit

Permalink
Updating for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Thu Trang Pham committed Nov 8, 2020
1 parent 739953a commit 32192d3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ test:
coverage run --branch -m pytest
coverage html
coverage-badge -f -o coverage.svg
python -m readme_renderer README.md -o /tmp/README.html

migrate:
./tests/manage.py makemigrations
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Django Admin Confirm

![coverage](/coverage.svg)
![coverage](https://raw.githubusercontent.com/TrangPham/django-admin-confirm/main/coverage.svg)

AdminConfirmMixin is a mixin for ModelAdmin to add confirmations to changes and additions.

![Screenshot of Confirmation Page](/screenshot.png)
![Screenshot of Confirmation Page](https://raw.githubusercontent.com/TrangPham/django-admin-confirm/main/screenshot.png)

It can be configured to add a confirmation page upon saving changes and/or additions on ModelAdmin.

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
version="0.1",
packages=["admin_confirm"],
description="Adds confirmation to Django Admin changes and additions",
long_description_content_type="text/markdown",
long_description=README,
author="Thu Trang Pham",
author_email="[email protected]",
Expand All @@ -17,4 +18,5 @@
install_requires=[
"Django>=1.7",
],
python_requires='>=3',
)

0 comments on commit 32192d3

Please sign in to comment.