------------------------------------------------------------------- Tue Dec 12 05:16:57 UTC 2017 - tbechtold@suse.com - update to 1.11.8: * Fixed #28488 -- Reallowed error handlers to access CSRF tokens. * Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model. * Fixed #28597 -- Fixed crash with the name of a model's autogenerated primary key in an Index's fields. * Added stub release notes for 1.11.7. * Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constraint" crash on MySQL with a sequence of AlterField or RenameField operations. * Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef. * Added assertion helpers for PostgreSQL's server-side cursor tests. * Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs. * Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length. * Added release date for 1.11.8. * Fixed #28702 -- Made query lookups for CIText fields use citext. * Added 2017-12794 to the security release archive. * Fixed typo in docs/topics/cache.txt. * Bumped version for 1.11.6 release. * Added release date for 1.11.6. * Fixed #28648 -- Corrected typo in docs/topics/db/queries.txt. * Bumped version for 1.11.7 release. * Added stub release notes for 1.11.8. * Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last. * Fixed typo in docs/topics/db/aggregation.txt. * Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt. * Fixed typo in docs/topics/forms/media.txt. * Bumped version for 1.11.8 release. * Fixed typo in docs/ref/models/querysets.txt. * Fixed test failures due to ordering differences on PostgreSQL 10. * Fixed #28710 -- Fixed the Basque DATE_FORMAT string * Added stub release notes for 1.11.6. * Fixed #28747 -- Fixed typos in django/conf/global_settings.py comments. * Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list(). * Post-release version bump. * Fixed #28792 -- Fixed index name truncation of namespaced tables. * Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection(). * Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last. * Refs #28710 -- Simplified l10n format test * Initialized CsrfViewMiddleware once in csrf_tests. * Added release date for 1.11.7. * Linked to prefetch_related_objects func in DB optimization docs. * Fixed #28645 -- Reallowed AuthenticationForm to raise the inactive user error when using ModelBackend. * Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs. * Fixed #28561 -- Removed inaccurate docs about QuerySet.order_by() and joins. * Fixed #28555 -- Made CharField convert whitespace-only values to the empty_value when strip is enabled. * Fixed #28601 -- Prevented cache.get_or_set() from caching None if default is a callable that returns None. ------------------------------------------------------------------- Wed Sep 20 21:53:53 UTC 2017 - toddrme2178@gmail.com - update to version 1.11.5 * CVE-2017-12794: Possible XSS in traceback section of technical 500 debug page * Fixed GEOS version parsing if the version has a commit hash at the end (new in GEOS 3.6.2) (:ticket:`28441`). * Added compatibility for ``cx_Oracle`` 6 (:ticket:`28498`). * Fixed select widget rendering when option values are tuples (:ticket:`28502`). * Django 1.11 inadvertently changed the sequence and trigger naming scheme on Oracle. This causes errors on INSERTs for some tables if ``'use_returning_into': False`` is in the ``OPTIONS`` part of ``DATABASES``. The pre-1.11 naming scheme is now restored. Unfortunately, it necessarily requires an update to Oracle tables created with Django 1.11.[1-4]. Use the upgrade script in :ticket:`28451` comment 8 to update sequence and trigger names to use the pre-1.11 naming scheme. * Added POST request support to ``LogoutView``, for equivalence with the function-based ``logout()`` view (:ticket:`28513`). * Omitted ``pages_per_range`` from ``BrinIndex.deconstruct()`` if it's ``None`` (:ticket:`25809`). * Fixed a regression where ``SelectDateWidget`` localized the years in the select box (:ticket:`28530`). * Fixed a regression in 1.11.4 where ``runserver`` crashed with non-Unicode system encodings on Python 2 + Windows (:ticket:`28487`). * Fixed a regression in Django 1.10 where changes to a ``ManyToManyField`` weren't logged in the admin change history (:ticket:`27998`) and prevented ``ManyToManyField`` initial data in model forms from being affected by subsequent model changes (:ticket:`28543`). * Fixed non-deterministic results or an ``AssertionError`` crash in some queries with multiple joins (:ticket:`26522`). * Fixed a regression in ``contrib.auth``'s ``login()`` and ``logout()`` views where they ignored positional arguments (:ticket:`28550`). ------------------------------------------------------------------- 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