-
Notifications
You must be signed in to change notification settings - Fork 6
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
[#939] Upgrade to Django 4.2 #1024
Conversation
393c89a
to
6dcd451
Compare
|
622e113
to
83677aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some notes.
Also I find the many migrations suspicious, I suppose this is a side-effect of the strings and newer Django code?
0f977a5
to
1d1f376
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1024 +/- ##
========================================
Coverage 94.94% 94.95%
========================================
Files 883 889 +6
Lines 30950 30970 +20
========================================
+ Hits 29386 29407 +21
+ Misses 1564 1563 -1 ☔ View full report in Codecov by Sentry. |
271d8af
to
b8a7ae3
Compare
A few of the migrations (auto-generated of cource) are cms-related changes to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Django update stuff looks good but there is the signals logging, I put some input to clarify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor remarks/questions
@@ -20,6 +22,15 @@ | |||
from .factories import QuestionnaireStepFactory, QuestionnaireStepFileFactory | |||
|
|||
|
|||
class SessionMiddleware(DefaultSessionMiddleWare): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is also defined in open_inwoner.cms.tests.cms_tools
, we can move this to open_inwoner.utils.test
maybe?
* upgrade mayin-2fa to 1.0.0 * upgrade django-otp to 1.3.0 * upgrade django-two-factor-auth to 1.16.0
* refactor logging, move logic from DocumentDeleteView.delete() to form_valid() * normalize data structure and correct type annotation in `InboxView` (confusion between queryset and list) * refactor logging in the context of DigiD user change/creation since db logging caused `ValueError: save() prohibited to prevent data loss due to unsaved related object 'content_object'`
6715a92
to
4a9a460
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 lets go! 🚀
Closes #939
TODO:
TimelineLog
objects cannot be created to to unsaved related object)