Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Make timestamp in LogEntry overwritable #478

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

aqeelat
Copy link
Member

@aqeelat aqeelat commented Dec 15, 2022

Fixes #199
A replacement PR for #200 since the repo in that PR was deleted.

@aqeelat aqeelat requested a review from hramezani December 15, 2022 21:27
auditlog/models.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Dec 17, 2022

Codecov Report

Merging #478 (480e072) into master (971a4f4) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #478      +/-   ##
==========================================
+ Coverage   92.77%   92.83%   +0.05%     
==========================================
  Files          26       27       +1     
  Lines         789      795       +6     
==========================================
+ Hits          732      738       +6     
  Misses         57       57              
Impacted Files Coverage Δ
...ditlog/migrations/0013_alter_logentry_timestamp.py 100.00% <100.00%> (ø)
auditlog/models.py 87.71% <100.00%> (+0.05%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hramezani
Copy link
Member

Thanks for update @aqeelat

@hramezani hramezani merged commit a733cd0 into jazzband:master Dec 19, 2022
@aqeelat aqeelat deleted the editable_timestamp branch December 19, 2022 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use default instead of auto_now_add?
2 participants