-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Upgrade to Django 3.2 #815
Conversation
177334c
to
8540147
Compare
f43e2c4
to
21d7b60
Compare
e519cc6
to
8c1ddd0
Compare
8c1ddd0
to
60f0453
Compare
# Conflicts: # dependencies/pip/dev_requirements.txt # dependencies/pip/prod.txt # dependencies/pip/requirements.txt
# Conflicts: # dependencies/pip/prod.txt # dependencies/pip/requirements.in # onadata/apps/logger/models/instance.py # onadata/settings/base.py
dependencies/pip/requirements.in
Outdated
@@ -13,7 +13,7 @@ https://bitbucket.org/fomcl/savreaderwriter/downloads/savReaderWriter-3.3.0.zip# | |||
-e git+https://github.com/kobotoolbox/ssrf-protect@9b97d3f0fd8f737a38dd7a6b64efeffc03ab3cdd#egg=ssrf_protect | |||
|
|||
# Regular PyPI packages | |||
Django>=2.2,<2.3 | |||
Django==3.2 |
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.
Don't use exact version of Django, use >=,< syntax
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 thought I already changed it when you made me change it in KPI.
Done!
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.
Everything else looks good to me. I was able to run it on the latest kobo-install and upgraded django versions on both kpi and kc.
Description
Upgrade Django code to latest Django LTS
Additional info
3.12.3
.4.0.0
and above does not work with MockMongo.logger.instance
andviewer.parsed_instance
id field toBigAutoField
. May be very long on big tables?dependencies/pip/prod.*
(moveuWSGI
inrequirements.*
as per internal discussion and match KPI requirements)Related issues
closes #762
related to kobotoolbox/kobo-docker#335
related to kobotoolbox/kpi#3786