diff --git a/LICENSE.txt b/LICENSE similarity index 100% rename from LICENSE.txt rename to LICENSE diff --git a/Makefile b/Makefile index 7f5d621..6e82bd5 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index e59e432..5b53027 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/setup.py b/setup.py index d7c88d0..890240f 100644 --- a/setup.py +++ b/setup.py @@ -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="thuutrangpham@gmail.com", @@ -17,4 +18,5 @@ install_requires=[ "Django>=1.7", ], + python_requires='>=3', )