Django received new update

New version of popular Python framework available now
01 July 2017   1093

a high-level, free and open source Python Web framework that encourages rapid and clean development with  pragmatic design.


Is a multi-paradigm programming language with easy-to-use syntax and many features.

One of the most popular Python framework received new version. Now Django has 1.11.2 version.

Bugfixes list

  • Added detection for GDAL 2.1 and 2.0, and removed detection for unsupported versions 1.7 and 1.8.
  • Changed contrib.gis to raise ImproperlyConfigured rather than GDALException if gdal isn’t installed, to allow third-party apps to catch that exception.
  • Fixed django.utils.http.is_safe_url() crash on invalid IPv6 URLs.
  • Fixed regression causing pickling of model fields to crash.
  • Fixed django.contrib.auth.authenticate() when multiple authentication backends don’t accept a positional request argument.
  • Fixed introspection of index field ordering on PostgreSQL.
  • Fixed a regression where Model._state.adding wasn’t set correctly on multi-table inheritance parent models after saving a child model.
  • Allowed DjangoJSONEncoder to serialize django.utils.deprecation.CallableBool.
  • Relaxed the validation added in Django 1.11 of the fields in the defaults argument of QuerySet.get_or_create()and update_or_create() to reallow settable model properties.
  • Fixed MultipleObjectMixin.paginate_queryset() crash on Python 2 if the InvalidPage message contains non-ASCII.
  • Prevented Subquery from adding an unnecessary CAST which resulted in invalid SQL.
  • Corrected detection of GDAL 2.1 on Windows.
  • Made date-based generic views return a 404 rather than crash when given an out of range date.
  • Fixed a regression where file_move_safe() crashed when moving files to a CIFS mount.
  • Moved the ImageField file extension validation added in Django 1.11 from the model field to the form field to reallow the use case of storing images without an extension.

Also, new minor feature - new LiveServerTestCase.port attribute reallows the use case of binding to a specific port following the bind to port zero change in Django 1.11. 

Django 2.2 to be Available

Good news - Django 2.2 is classified as a long-term issue and will receive updates until April 2022
02 April 2019   490

Django 2.2 web framework, written in Python and intended for developing web applications, is finally out. Django 2.2 is classified as a long-term issue and will receive updates until April 2022. LTS-branch 1.11 will be supported until April 2020, and branch 2.1 until December 2019. Support for branch 2.0 has been discontinued.

Key improvements:

  • New CheckConstraint and UniqueConstraint classes have been added that allow the model to define its own database access restrictions using the Meta.constraints option;
  • In the runserver, the Watchman framework is used to increase the performance of tracking changes in a large number of files;
  • Added an HttpRequest.headers object for quick access to HTTP headers sent during a request (for example, request.headers ['User-Agent']).