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

Upgrade to Django 4.x #2330

Open
KipSigei opened this issue Nov 2, 2022 · 0 comments
Open

Upgrade to Django 4.x #2330

KipSigei opened this issue Nov 2, 2022 · 0 comments

Comments

@KipSigei
Copy link
Contributor

KipSigei commented Nov 2, 2022

Django v4.x has several upgrades to the framework, and some of the benefits for upgrading include improved customization, enhanced security features and performance.

Things to note before upgrading

  • Django 4.x has dropped support for PostgreSQL v9.6 and earlier
  • It also only supports python 3.8, 3.9 and 3.10
  • It has also dropped packages such as PostGIS 2.3, GDAL 2.0 and GEOS 3.5
  • Deprecation of functions such as django.utils.text.unescape_entities() and django.utils.http.is_safe url()
  • Integration for Redis as a cache via django.core.cache.backends.redis.RedisCache
  • The ptyz timezone lib has been deprecated in favor of zoneinfo, example:
<before>
import pytz
pytz.timezone('US/Eastern')

<Now>
import zoneinfo
zoneinfo.ZoneInfo('US/Eastern')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants