Updating for packaging

main
Thu Trang Pham 2020-11-08 11:24:59 -08:00
parent 739953a0e2
commit 32192d3988
4 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,7 @@ test:
coverage run --branch -m pytest coverage run --branch -m pytest
coverage html coverage html
coverage-badge -f -o coverage.svg coverage-badge -f -o coverage.svg
python -m readme_renderer README.md -o /tmp/README.html
migrate: migrate:
./tests/manage.py makemigrations ./tests/manage.py makemigrations

View File

@ -1,10 +1,10 @@
# Django Admin Confirm # 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. 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. It can be configured to add a confirmation page upon saving changes and/or additions on ModelAdmin.

View File

@ -9,6 +9,7 @@ setup(
version="0.1", version="0.1",
packages=["admin_confirm"], packages=["admin_confirm"],
description="Adds confirmation to Django Admin changes and additions", description="Adds confirmation to Django Admin changes and additions",
long_description_content_type="text/markdown",
long_description=README, long_description=README,
author="Thu Trang Pham", author="Thu Trang Pham",
author_email="thuutrangpham@gmail.com", author_email="thuutrangpham@gmail.com",
@ -17,4 +18,5 @@ setup(
install_requires=[ install_requires=[
"Django>=1.7", "Django>=1.7",
], ],
python_requires='>=3',
) )