-
-
Notifications
You must be signed in to change notification settings - Fork 962
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
refactor: Update Django to 4.2 LTS #1543
Conversation
by @NtskwK , @QinShengLiangAn
Thanks @NtskwK 👋 I haven't had a chance to review everything, but a few things stand out right away:
There might be other things that need to be addressed, but these two stood out. |
Yes, an automated scripts souds good.
I have never tried to migrate database with data. Could you give me some suggest? |
I have revert to recover migrations files just now. Then, I found some manual about migration with the old data. But I have no idea for it. |
What's new
Docker-compose:
Version top-level element (obsolete)
Django 4.2:
Django 4.2 supports PostgreSQL 12 and highe
django.conf.urls.url() is removed.
django.utils.encoding.force_text() and are removed.smart_text()
PostgreSQL JSONField is deprecated
Others
PostGIS Support Matrix: https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS
unfix:
djangorestframework-simplejwt
there are also many different from django-rest-framework-jwt to djangorestframework-simplejwt. So it can not pass the test in webodm.sh.
rio-tiler
RioTilerBaseModel:warn 'key' access will has been deprecated and will be removed in rio-tiler 7.0."
webpack
(node:5096) [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET] DeprecationWarning: Compilation.chunks was changed from Array to Set (using Array method
'map' is deprecated)
(node:5096) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)WARNING in webpack performance recommendations: webapp | You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
django-webpack-loader
There is a bug(?) in static template at v1.0.0 or higher version.
Docker-compose
Maintainer tag is deprecated