Updating readme

main
Thu Trang Pham 2020-11-30 08:36:35 -08:00
parent 264900a216
commit 86b87308ab
1 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,8 @@ AdminConfirmMixin is a mixin for ModelAdmin to add confirmations to change, add
![Screenshot of Change Confirmation Page](https://raw.githubusercontent.com/TrangPham/django-admin-confirm/main/screenshot_confirm_change.png) ![Screenshot of Change Confirmation Page](https://raw.githubusercontent.com/TrangPham/django-admin-confirm/main/screenshot_confirm_change.png)
![Screenshot of Action Confirmation Page](https://raw.githubusercontent.com/TrangPham/django-admin-confirm/main/screenshot_confirm_action.png)
It can be configured to add a confirmation page on ModelAdmin upon: It can be configured to add a confirmation page on ModelAdmin upon:
- saving changes - saving changes
@ -108,8 +110,6 @@ Note: `confirmation_fields` apply to both add/change confirmations.
This would confirm `action2` but not `action1`. This would confirm `action2` but not `action1`.
![Screenshot of Action Confirmation Page](https://raw.githubusercontent.com/TrangPham/django-admin-confirm/main/screenshot_confirm_action.png)
Action confirmation will respect `allowed_permissions` and the `has_xxx_permission` methods. Action confirmation will respect `allowed_permissions` and the `has_xxx_permission` methods.
## Contribution & Appreciation ## Contribution & Appreciation