Return LogEntry instances from log_addition, log_change, log_deletion
For customized ModelAdmin classes, it might be handy to have access to the created LogEntry instances in inherited methods to be able to customize the logging behavior (django-reversion has a use case for that).
I suggest to return the LogEntry instance from those methods (which currently don't return anything).
Change History
(5)
| Triage Stage: |
Unreviewed → Accepted
|
| Has patch: |
set
|
| Patch needs improvement: |
set
|
| Patch needs improvement: |
unset
|
| Resolution: |
→ fixed
|
| Status: |
new → closed
|
PR (with comments for improvement).