3 ms·
Release notes with the new features in 1.11: https://docs.djangoproject.com/en/dev/releases/1.11/ https://docs.djangoproject.com/en/dev/releases/1.11/ Highligh
by jitl 10y ago
Release notes with the new features in 1.11: https://docs.djangoproject.com/en/dev/releases/1.11/ https://docs.djangoproject.com/en/dev/releases/1.11/
Highlights:
- better support for creating indexes on your Models with class-based indexes
- widget rendering in forms now uses the templating system instead of python
- Explicit subquery expression support via Subquery and Exists expressions.
- jsmeaton 10y agoSome more important notes (IMO): - Long Term Support - Last release to support Python 2 - Server side cursors for postgres
- aptwebapps 10y agowidget rendering in forms now uses the templating system instead of python I haven't looked at how it's implemented yet, but that sounds like a real godsend.
- collinmanderson 10y agoThere's now a get_context() method which returns a dict of useful info. the render() method takes that and applies it to widget.template_name.
- legostormtroopr 10y agoI have looked at it, and it is a godsend.
- Buetol 10y agoThey did the same with the login views, they are now class-based and easy to customize. Very useful when you have an exotic templating engine for example and can't inherit the `registration/login.html` template
- collinmanderson 10y ago> The cached template loader is now enabled if DEBUG is False This should give a decent performance improvement for many websites.