------------------------------------------------------------------- Thu Aug 10 12:51:56 UTC 2017 - tbechtold@suse.com - update to version 1.11.4: * Fixed #27939 -- Updated OpenLayersWidget.map_srid for OpenLayers 3. * Fixed #27956 -- Fixed display of errors in an {% extends %} child. * Updated various links in docs to avoid redirects * Fixed typo in docs/topics/auth/default.txt. * Double quoted HTML attributes in widget docs * Fixed #28303 -- Prevented localization of attribute values in the DTL attrs.html widget template. * Added stub release notes for 1.11.3. * Documented OSMWidget.default_lat/lon. * Fixed #28101 -- Fixed a regression with nested __in subquery lookups and to_field. * Bumped version for 1.11.4 release. * Bumped version for 1.11.3 release. * Updated translations from Transifex * Fixed #28039 -- Fixed crash in BaseGeometryWidget.subwidgets(). * Fixed #28242 -- Moved ImageField file extension validation to the form field. * Made docs/topics/migrations.txt use single quotes consistently. * Fixed #28355 -- Fixed widget rendering of non-ASCII date/time formats on Python 2. * Updated name of topics/db/queries link on index. * Fixed #28025 -- Fixed typo in docs/ref/models/querysets.txt. * Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state. * Fixed #28207 -- Fixed contrib.auth.authenticate() if multiple auth backends don't accept a request. * Fixed #28361 -- Fixed possible time-related failure in was_published_recently() tutorial test. * Fixed #28265 -- Prevented renderer warning on Widget.render() with **kwargs. * Fixed typo in docs/topics/testing/advanced.txt. * Fixed #28125 -- Clarified 1.11 release note about Template.render() prohibiting non-dict context. * Refs #18974 -- Added stacklevel for permalink() deprecation. * Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with nonexistent field. * Fixed #28051 -- Made migrations respect Index's name argument. * Fixed #28420 -- Doc'd 'is' comparison restriction for User.is_authenticated/anonymous. * Added release date for 1.11.4. * Refs #28174 -- Fixed autoreload test crash on Python 2/non-ASCII path. * Fixed #28389 -- Fixed pickling of LazyObject on Python 2 when wrapped object doesn't have __reduce__(). * Fixed #28148 -- Doc'd ImageField name validation concerns with the test client. * Added stub release notes for 1.11.2. * Fixed #27890 -- Fixed FileNotFoundError cleanup exception in runtests.py on Python 3.6+. * Fixed #28138 -- Used output type handler instead of numbersAsStrings on Oracle cursor. * Fixed widgets module path in docs/ref/contrib/gis/forms-api.txt. * Fixed #27947 -- Doc'd that model Field.error_messages often don't propagate to forms. * Fixed #28067 -- Clarified __str__() return type when using python_2_unicode_compatible(). * Fixed docstring typo in django/contrib/admin/actions.py. * Fixed #28102 -- Doc'd how to compute path to built-in widget template directories. * Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples. * Fixed #28181 -- Added detection for GDAL 2.1 and 2.0. * Refs #23853 -- Updated sql.query.Query.join() docstring. * Added a test for Model._meta._property_names. * Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg. * Fixed #28415 -- Clarified what characters ASCII/UnicodeUsernameValidator accept. * Fixed #28074 -- Doc'd template-based widget rendering changes for contrib.gis. * Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget. * Added content_type filtering in Permission querying example. * Corrected FileExtensionValidator doc regarding the value being validated. * Fixed #27960 -- Set errcheck=False for GDALAllRegister to prevent crash. * Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget. * Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' for fields with choices. * Post-release version bump. * Fixed #28298 -- Prevented a primary key alteration from adding a foreign key constraint if db_constraint=False. * Refs #28192 -- Fixed documentation of ChoiceField choices requirement * Fixed #27966 -- Bumped required psycopg2 version to 2.5.4. * Linked GIS QuerySet API docs to corresponding PostGIS docs. * Fixed #27974 -- Kept resolved templates constant during one rendering cycle. * Refs #28100 -- Fixed URL in el, es_MX, and pt auth translations * Fixed typo in docs/ref/request-response.txt. * Fixed #27963 -- Removed unneeded docstring example in contributing docs. * Added stub release notes for security releases. * Fixed #28349 -- Doc'd how to upgrade Django from LTS to LTS. * Fixed typo in docs/ref/forms/fields.txt. * Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in views.static.serve(). * Fixed #28170 -- Fixed file_move_safe() crash when moving files to a CIFS mount. * Fixed broken links to Oracle docs. * Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in nested Prefetches. * Added links and cosmetic edits to docs/ref/request-response.txt. * Added stub release notes for 1.11.1. * Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML debug page. * Removed incorrect "required" attribute in docs/ref/forms/fields.txt. * Fixed #28176 -- Restored the uncasted option value in ChoiceWidget template context. * Refs #24423 -- Readded inadvertently deleted i18n tests. * Fixed #27965 -- Fixed precision comparison in a geoforms test (refs #27939). * Corrected post-release version bump. * Made runtests.py run gis_tests only when using a GIS database backend. * Fixed #28230 -- Allowed DjangoJsonEncoder to serialize CallableBool. * Fixed broken link to QUnit docs. * Removed MySQL (unsupported) from Perimeter docs. * Fixed #28266 -- Fixed typo in docs/ref/models/instances.txt. * Fixed #28139 -- Added another level of headings in the topics index. * Fixed #28003 -- Doc'd what an auto-created OneToOneField parent_link looks like. * Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed. * Updated man page for Django 1.11. * Fixed #27988 -- Fixed typo in docs/ref/django-admin.txt. * Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST. * Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s template. * Fixed AppRegistryNotReady error when running gis_tests in isolation on PostGIS. * Fixed #28435 -- Removed inaccurate warning about SECURE_HSTS_PRELOAD. * Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering. * Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has an instance only descriptor. * Tested EmailMessage(attachments=[MIMEText]) * Clarified return value of NumGeometries GIS function. * Refs #27935 -- Fixed BrinIndex.max_name_length if a project's default database isn't PostgreSQL. * Fixed #28058 -- Restored empty BoundFields evaluating to True. * Replaced "not A== B" with "A != B" in docs/howto/writing-migrations.txt. * Added CVE-2017-7233,4 to the security release archive. * Fixed #28204 -- Fixed MultipleObjectMixin.paginate_queryset() crash on Python 2 if InvalidPage message contains non-ASCII. * Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters. * Fixed #28293 -- Fixed union(), intersection(), and difference() when combining with an EmptyQuerySet. * Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/get_or_create() defaults. * Refs #27556, #27488 -- Updated support backends docs for isvalid lookup. * Fixed nondeterministic ordering test failure in model_forms. * Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__(). * Fixed #27981 -- Doc'd date/time filter l10n changes in refs #25758. * Made a few cosmetic updates to "Migrations that add unique fields". * Bumped version for 1.11 release. * Fixed #28004 -- Doc'd how to create migrations for an app without a migrations directory. * Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input. * Fixed #27949 -- Doc'd how OpenLayers 3 widgets work. * Pass type to sql_alter_column_* where it was missing. * Fixed #27866 -- Made ChoiceWidget.format_value() return a list * Fixed #28308 -- Doc'd removal of Select.render_option() (refs #15667). * Fixed #28178 -- Changed contrib.gis to raise ImproperlyConfigured if gdal isn't installed. * Fixed #28284 -- Prevented Paginator's unordered object list warning from evaluating a QuerySet. * Fixed #28209 -- Made date-based generic views return a 404 rather than crash when given an out of range date. * Fixed #28161 -- Fixed return type of ArrayField(CITextField()). * Corrected docs regarding MySQL support of Length GIS function. * Fixed #28175 -- Fixed __in lookups on a foreign key when using the foreign key's parent model as the lookup value. * Refs #18247 -- Fixed SQLite QuerySet filtering on decimal result of Least and Greatest. * Refs #28207 -- Fixed contrib.auth.authenticate() if 'backend' is in the credentials. * Fixed #27644 -- Doc'd FileSystemStorage.get_created_time(). * Added test for intersection() when combining with a queryset raising EmptyResultSet. * Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL. * Removed extra characters in docs header underlines. * Fixed GEOSGeometry reference in GIS tutorial. * Refs #28066 -- Fixed Python 2 failures in sessions_tests. * Removed obsolete Widget.format_output() in tests. * Fixed #28059 -- Restored class attribute in