- Edited
Looking for the latest and greatest Django? Well look no further - Django 4.0 was released earlier today and I'm happy to say that the new version is now available for install via your Opalstack dashboard!
Django 4.0 isn't compatible with the normal system Python 3.6, so the installer has been updated to bundle a complete Python 3.10 installation. The Python installation is located in the python
subdirectory of the app directory. You won't need to change your workflow for this, because the actual Django install goes into a virtual environment just like the older versions of the installer. The only difference is that the virtual environment is using the Python 3.10 that's bundled with the installer.
Since the new installer is building Python and related dependencies from source at install time, the installation will take longer than it did in the past, usually about 5-10 minutes. We're working to make Python 3.10 available system-wide; when that happens we'll update the installer again to use the system Python 3.10 so that installations won't take so long.