django-restful-admin
django-restful-admin copied to clipboard
fix delete method
Issue #12
Resolved an issue in the get_permission_map method where the mapping for the 'delete' method was inconsistent with the actual method name used in the code. The discrepancy was identified in the delete method, which was implemented as 'destroy.' To address this, I've updated the get_permission_map function to correctly map to the 'destroy' method. This adjustment ensures that the mapping aligns with the actual method names, resolving the bug and improving code consistency.
Please merge it ASAP.
Thank you it helped a lot.
Finally something that worked
Thanks, this PR will help a lot! @amirasaran could merge it for us?