Path to this page:
Subject: CVS commit: pkgsrc/www/py-django
From: Adam Ciarcinski
Date: 2017-05-08 06:58:58
Message id: 20170508045858.F082DFBE4@cvs.NetBSD.org
Log Message:
Changes 1.11.1:
Allowed disabling server-side cursors on PostgreSQL
Bugfixes:
Made migrations respect Indexâs name argument. If you created a named index \
with Django 1.11, makemigrations will create a migration to recreate the index \
with the correct name.
Fixed a crash when using a __icontains lookup on a ArrayField.
Fixed a crash when using a two-tuple in EmailMessageâs attachments argument.
Fixed QuerySet.filter() crash when it references the name of a OneToOneField \
primary key.
Fixed empty POST data table appearing instead of âNo POST dataâ in \
HTML debug page.
Restored BoundFields without any choices evaluating to True.
Prevented SessionBase.cycle_key() from losing session data if _session_cache \
isnât populated.
Fixed layout of ReadOnlyPasswordHashWidget (used in the adminâs user change \
page).
Allowed prefetch calls on managers with custom ModelIterable subclasses.
Fixed change password link in the contrib.auth admin for el, es_MX, and pt \
translations.
Restored the output of the class attribute in the <ul> of widgets that use \
the multiple_input.html template. This fixes ModelAdmin.radio_fields with \
admin.HORIZONTAL.
Fixed crash in BaseGeometryWidget.subwidgets().
Fixed exception reraising in ORM query execution when cursor.execute() fails and \
the subsequent cursor.close() also fails.
Fixed a regression where CheckboxSelectMultiple, NullBooleanSelect, RadioSelect, \
SelectMultiple, and Select localized option values.
Corrected the stack level of unordered queryset pagination warnings.
Fixed a regression causing incorrect queries for __in subquery lookups when \
models use ForeignKey.to_field.
Fixed crash when overriding the template of django.views.static.directory_index().
Fixed a regression in formset min_num validation with unchanged forms that have \
initial data.
Prepared for cx_Oracle 6.0 support.
Updated the contrib.postgres SplitArrayWidget to use template-based widget rendering.
Fixed crash in BaseGeometryWidget.get_context() when overriding existing attrs.
Prevented AddIndex and RemoveIndex from mutating model state.
Prevented migrations from dropping database indexes from Meta.indexes when \
changing Field.db_index to False.
Fixed a regression in choice ordering in form fields with grouped and \
non-grouped options.
Fixed crash in BaseInlineFormSet._construct_form() when using save_as_new.
Fixed a regression where Model._state.db wasnât set correctly on \
multi-table inheritance parent models after saving a child model.
Corrected the return type of ArrayField(CITextField()) values retrieved from the \
database.
Fixed QuerySet.prefetch_related() crash when fetching relations in nested \
Prefetch objects.
Prevented hiding GDAL errors if itâs not installed when using contrib.gis. \
(Itâs a required dependency as of Django 1.11.)
Fixed a regression causing __in lookups on a foreign key to fail when using the \
foreign keyâs parent model as the lookup
Files: