Djangonaut Views
Djangonaut Views
  • 2
  • 18 137
Upgrade your Django project from 3.2 to 4.2 FAST!
While you were all smug in the comfort of Django's long term support (LTS), Django has been marching on. It's two years later and support for Django 3.2 is running out! ⌛
You need to upgrade to Django 4.2 and fast!
I will take you through how to get your project running, with passing tests, from one LTS version to the next.
What you'll see in this video:
00:00 Intro
00:23 django-upgrade
01:20 Upgrade dependencies
02:08 Debugging a test failure
03:15 Next steps and outro
Useful Resources:
- Django release notes: docs.djangoproject.com/en/5.0/releases/
- Django supported versions: www.djangoproject.com/download/#supported-versions
- django-upgrade: pypi.org/project/django-upgrade/
- "Boost your Django DX" book by Adam Johnson: adamchainz.gumroad.com/l/byddx
- "pip install" from a Git Repository Article by Adam Johnson: adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/
- Paulo's PR (thank you): github.com/brutasse/django-push/pull/28
GitHub profiles of community members featured - give them a follow if you want to see what they do next!
- Adam Johnson: github.com/adamchainz
- Paulo Melchiorre: github.com/pauloxnet
I am actually demonstrating upgrading djangoproject.com (github.com/django/djangoproject.com) which (of course) is a Django project!
This is maintained by the community but leading members here are: Sarah Abderemane, Paulo Melchiorre and Sanyam Khurana. Thank you so much! 👏
You can support the Django community by making a donation to the Django Software Foundation: www.djangoproject.com/fundraising/
Thank you for reading this far. Please like, comment or subscribe if you want to see more content of Django ❤️
มุมมอง: 1 989

วีดีโอ

What's new in Django 5.0!
มุมมอง 16Kปีที่แล้ว
Have you been counting down the days? Not to Christmas... to the new Django release! Django 5.0 is out! Let's unwrap the new features of our favourite Python web framework together 🎁 What you'll see in this video: 00:00 Intro 00:10 New feature: db_default 00:59 New feature: GeneratedField 02:16 Other ORM new features 02:47 New feature: as_field_group 04:16 Community update Resources: - Release ...