Describe the bug
The version I get when I install from PyPI by running pip install django-admin-confirm differs from the release here on Github. The major difference I've notices is that the version on PyPI doesn't have the updated __init__.py, so to import the decorator confirm_action we need to write from admin_confirm.admin import confirm_action instead of from admin_confirm import confirm_action as the example in the readme.
To Reproduce
Steps to reproduce the behavior:
Create a fresh virtual environment.
Install django-admin-confirm with pip install django-admin-confirm.
Create a django application with an admin module, and write from admin_confirm import confirm_action at the top.
Expected behavior
The confirm_action decorator to be imported without having to specify the extra .admin in the module name.
Versions (please complete the following information):
Python 3.12.4
Pip 24.2
django-admin-confirm 1.0.0 (the one downloaded from PyPI)
Django 5.0.7 (shouldn't matter which Django version I'm using as the downloaded files are different)
Describe the bug The version I get when I install from PyPI by running
pip install django-admin-confirm
differs from the release here on Github. The major difference I've notices is that the version on PyPI doesn't have the updated__init__.py
, so to import the decoratorconfirm_action
we need to writefrom admin_confirm.admin import confirm_action
instead offrom admin_confirm import confirm_action
as the example in the readme.To Reproduce Steps to reproduce the behavior:
django-admin-confirm
withpip install django-admin-confirm
.from admin_confirm import confirm_action
at the top.Expected behavior The
confirm_action
decorator to be imported without having to specify the extra.admin
in the module name.Versions (please complete the following information):