django-auditlog
django-auditlog copied to clipboard
Added support for tracking FK ID updates.
In Django, you can update the raw ID of a ForeignKey relation using the '*_id' field without assigning it a new model. This needs to be logged by the audit framework. Currently it does not detect these changes.
Codecov Report
Merging #202 into master will decrease coverage by
0.29%
. The diff coverage is50%
.
@@ Coverage Diff @@
## master #202 +/- ##
=========================================
- Coverage 83.43% 83.13% -0.3%
=========================================
Files 19 19
Lines 513 516 +3
=========================================
+ Hits 428 429 +1
- Misses 85 87 +2
Impacted Files | Coverage Δ | |
---|---|---|
src/auditlog/diff.py | 84.5% <50%> (-2.26%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update a22978e...4fb7654. Read the comment docs.
@hramezani do you think this and #280 are related?
This change is no longer valid with the latest code base. A new pull request has been created to address the issue in latest master.