Django Software Foundation Releases Django 1.2
1.2 offers improved security and permissions, may not be completely backwards-compatible.
The Django Foundation, creators of the popular Python-based Web framework of the same name, announced the release of Django 1.2 and with it come several new features. Django 1.2 now supports multiple database connections in a single instance. It also features "vastly" improved Cross-Site Request Forgery protection and hooks for permissions for anonymous users, improved username flexibility, and object-level permissions.
In addition, Django 1.2 supports both anonymous session-based messaging and cookie-based messaging for authenticated users.
Upgrading to 1.2 also ushers in some backwards incompatibility. Python 2.3 is no longer supported in Django 1.2. The improved Cross-Site Request Forgery protection framework is compatible with the previous system, but users of the old system won't be affected until Django 1.4, when the older famework is removed.
Authors of custom template tags should be advised that the internals have changed and are now subject to new rules. The LazyObject utility has been modified to support the Python introspection method, to avoid name clashes.
Django 1.2 is licensed under BSD and can be found at djangoproject.com/download/. With full release notes here.
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
2024 Open Source Professionals Job Survey Now Open
Share your expectations regarding open source jobs.
-
Arch Linux 2023.12.01 Released with a Much-Improved Installer
If you've ever wanted to install Arch Linux, now is your time. With the latest release, the archinstall script vastly simplifies the process.
-
Zorin OS 17 Beta Available for Testing
The upcoming version of Zorin OS includes plenty of improvements to take your PC to a whole new level of user-friendliness.
-
Red Hat Migrates RHEL from Xorg to Wayland
If you've been wondering when Xorg will finally be a thing of the past, wonder no more, as Red Hat has made it clear.
-
PipeWire 1.0 Officially Released
PipeWire was created to take the place of the oft-troubled PulseAudio and has finally reached the 1.0 status as a major update with plenty of improvements and the usual bug fixes.
-
Rocky Linux 9.3 Available for Download
The latest version of the RHEL alternative is now available and brings back cloud and container images for ppc64le along with plenty of new features and fixes.
-
Ubuntu Budgie Shifts How to Tackle Wayland
Ubuntu Budgie has yet to make the switch to Wayland but with a change in approaches, they're finally on track to making it happen.
-
TUXEDO's New Ultraportable Linux Workstation Released
The TUXEDO Pulse 14 blends portability with power, thanks to the AMD Ryzen 7 7840HS CPU.
-
AlmaLinux Will No Longer Be "Just Another RHEL Clone"
With the release of AlmaLinux 9.3, the distribution will be built entirely from upstream sources.
-
elementary OS 8 Has a Big Surprise in Store
When elementary OS 8 finally arrives, it will not only be based on Ubuntu 24.04 but it will also default to Wayland for better performance and security.