Updating for packaging
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# Django Admin Confirm
|
# Django Admin Confirm
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
|||||||
@@ -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',
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user