Skip to content

Commit 32192d3

Browse files
author
Thu Trang Pham
committed
Updating for packaging
1 parent 739953a commit 32192d3

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

LICENSE.txt LICENSE

File renamed without changes.

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ test:
55
coverage run --branch -m pytest
66
coverage html
77
coverage-badge -f -o coverage.svg
8+
python -m readme_renderer README.md -o /tmp/README.html
89

910
migrate:
1011
./tests/manage.py makemigrations

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Django Admin Confirm
22

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

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

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

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

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
version="0.1",
1010
packages=["admin_confirm"],
1111
description="Adds confirmation to Django Admin changes and additions",
12+
long_description_content_type="text/markdown",
1213
long_description=README,
1314
author="Thu Trang Pham",
1415
author_email="[email protected]",
@@ -17,4 +18,5 @@
1718
install_requires=[
1819
"Django>=1.7",
1920
],
21+
python_requires='>=3',
2022
)

0 commit comments

Comments
 (0)