Closed saranmaikalluri closed 1 year ago
Which version of Django are you using?
As set currently, it would only confirm if you changed the country value to something that isn’t the default value. Is that what you’re trying?
On Tue, Apr 5, 2022 at 23:37 saranmaikalluri @.***> wrote:
I have done the below steps:
- pip install django-admin-confirm
- Added admin-confirm before django.contrib.admin and after app:
- INSTALLED_APPS =[ 'core', ............., ............, 'admin_confirm', 'django.contrib.admin', ........... ]
-Added AdminConfirmMixin: class ApplicationAdmin(AdminConfirmMixin,admin.ModelAdmin): confirm_add = True confirmation_fields = ['country']
When I add data to the model in admin site--its saving directly; not asking for any confirmation.
— Reply to this email directly, view it on GitHub https://github.com/TrangPham/django-admin-confirm/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQE5QNWP7MT44H2ODDV2A3VDUWKLANCNFSM5SU64NEQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Closing this issue due to inactivity. Please feel free to comment if the issue is still happening and I can re-open it.
I have done the below steps:
-Added AdminConfirmMixin: class ApplicationAdmin(AdminConfirmMixin,admin.ModelAdmin): confirm_add = True confirmation_fields = ['country']
When I add data to the model in admin site--its saving directly; not asking for any confirmation.