Commit Graph

13681 Commits

Author SHA1 Message Date
Alex Hill 86ae2b22ae [1.10.x] Fixed #27001 -- Fixed a query count regression in ModelChoiceField with RadioSelect.
Backport of c5ebfda002 from master
2016-08-03 10:53:42 -04:00
Sergey Yurchenko a8b8ef114d [1.10.x] Fixed #26997 -- Fixed checks crash with empty Meta.default_permissions.
Backport of 4e64e3bb6e from master
2016-08-03 09:14:27 -04:00
Tim Graham 7dd8e53cc8 [1.10.x] Fixed #27000 -- Removed BaseCommand.usage() per deprecation timeline (refs #19973).
Backport of ccd5a23fba from master
2016-08-02 19:13:40 -04:00
Tim Graham fa4b5c1b93 [1.10.x] Fixed #26988 -- Improved/clarified User.is_authenticated/anonymous compatibility.
Thanks marktranchant for the report and review.

Backport of 54afa960d1 from master
2016-08-02 11:26:40 -04:00
Tim Graham 11c5c3b801 [1.10.x] Fixed #26991 -- Fixed a crash in MySQL where SELECT @@SQL_AUTO_IS_NULL doesn't return a result.
Backport of 431cbd115b from master
2016-08-02 10:52:49 -04:00
Tim Graham 11ac8ccd67 [1.10.x] Post-release version bump. 2016-08-01 14:33:50 -04:00
Tim Graham e18ddd07f0 [1.10.x] Bumped version for 1.10 release. 2016-08-01 14:22:50 -04:00
Claude Paroz f19cadd391 Pulled contrib translations from Transifex 2016-08-01 19:44:19 +02:00
Claude Paroz 760f076786 Pulled core Django translations from Transifex 2016-08-01 19:43:56 +02:00
Jon Dufresne 6a3f31fa33 [1.10.x] Fixed #26927 -- Made subwidget iteration pass disabled and required attributes.
Backport of ac3aaaa740 from master
2016-08-01 10:49:37 -04:00
Tim Graham ddcf7dbae7 [1.10.x] Fixed #26930 -- Prevented makemigrations from accessing an empty database.
Thanks Liz Lemon for the report and investigation and
Claude Paroz for the test.

Backport of aad46c3e37 from master
2016-08-01 07:57:25 -04:00
Claude Paroz 39387efbba [1.10.x] Fixed #26972 -- Fixed is_collection definition in MapWidget initialization
Backport of f530b4fdfc from master.
2016-07-31 20:40:17 +02:00
Tim Graham 83b950e9ff [1.10.x] Refs #25550 -- Corrected deprecation message for assigning M2M relations.
Backport of 5fa4370543 from master
2016-07-30 20:50:54 -04:00
Tim Graham c6e5878410 [1.10.x] Fixed #26970 -- Fixed crash with disabled ModelMultipleChoiceField.
Backport of 4e86168290 from master
2016-07-30 20:45:37 -04:00
Tomas Pazderka d61dbc20cf [1.10.x] Fixed #26896 -- Allowed a lazy base_url for FileSystemStorage.
Backport of b820b6108a from master
2016-07-29 14:16:03 -04:00
Sergey Fedoseev 25581e6382 [1.10.x] Refs #26657 -- Fixed a crash induced by invalid WKT returned by MySQL 5.7.5+.
Backport of 4178488881 from master
2016-07-28 18:09:47 -04:00
Sergey Fedoseev 9805726ddc [1.10.x] Fixed #26657 -- Made GeomValue omit SRID for MySQL.
This fixes some test failures on MySQL 5.7+.

Backport of 9031a4c13b from master
2016-07-28 17:12:57 -04:00
Olexander Yermakov 714e287d9a [1.10.x] Fixed #26949 -- Fixed crash of disabled forms.JSONField.
Backport of 68de48c963 from master
2016-07-27 08:43:07 -04:00
Tim Graham 3744fc1666 [1.10.x] Fixed #26917 -- Fixed crash in disabled ModelChoiceFields.
Partially reverted refs #25532 to fix a regression in Django 1.10.
This reintroduces a crash for disabled forms.JSONField (refs #26949),
however, that issue is also present on Django 1.9.

Thanks Ryan Schave for the test.

Backport of a5f85d891b from master
2016-07-27 08:36:49 -04:00
Alex Hill d53e3c1e07 [1.10.x] Fixed #26915 -- Fixed regression handling responses returned from view middleware.
Backport of 44a6b40280 from master
2016-07-25 13:46:44 -04:00
Jon Dufresne c0026a9d2d
[1.10.x] Fixed #26938 -- Fixed invalid HTML in template postmortem on the debug page.
Backport of 348cfccd90 from master
2016-07-24 18:25:43 +02:00
Alex Hill 4e8ccb3274
[1.10.x] Fixed #26945 -- Ensured that i18n_patterns returns a list
Backport of 971120778a from master
2016-07-24 17:20:40 +02:00
Dmitry Dygalo b3f96b5f73 [1.10.x] Fixed #26922 -- Fixed SimpleTestCase.assertHTMLEqual() crash on Python 3.5+.
Backport of d7a097265b from master
2016-07-21 17:06:48 -04:00
Simon Charette dcf0a35b08 [1.10.x] Fixed #26916 -- Fixed prefetch_related when using a cached_property as to_attr.
Thanks Trac alias karyon for the report and Tim for the review.

Backport of 271bfe65d9 from master
2016-07-19 16:09:23 -04:00
Tim Graham 5623ffd5ac [1.10.x] Bumped version for 1.10 release candidate 1. 2016-07-18 11:33:14 -04:00
Tim Graham 6fa150b2f8 [1.10.x] Fixed XSS in admin's add/change related popup.
This is a security fix.
2016-07-18 11:17:19 -04:00
Tim Graham a03ac61332 [1.10.x] Fixed #26900 -- Fixed crash accessing deferred FileFields.
Backport of 7c33aa8a87 from master
2016-07-16 08:47:29 -04:00
Marc-Aurèle Brothier a8b2445a78 [1.10.x] Fixed #26868 -- Changed MySQL version detection to use a query.
Workaround a bug with MariaDB and MySQL native client not stripping the
`5.5.5-` prefix.

Backport of f8bfa80680 from master
2016-07-15 10:22:28 -04:00
Claude Paroz cb78011402 [1.10.x] Updated contrib.postgres translation catalog 2016-07-15 09:47:30 +02:00
Marten Kenbeek 06323dafc7 [1.10.x] Fixed #26888 -- Fixed concurrency issue in URL resolver.
Fixed a regression in 625b8e9295d79650208bfb3fca8bf9e6aaf578e4:
improper short-circuiting could lead to a KeyError when threads
concurrently call RegexURLResolver._populate().

Backport of 389a5318a0 from master
2016-07-14 14:42:23 -04:00
Claude Paroz 96a37a0266 [1.10.x] Fixed #26897 -- Fixed makemessages crash on Python 2 with non-ASCII file names
Thanks Tim Graham for the review.
Backport of 3e71f6544f from master.
2016-07-14 20:39:00 +02:00
Jon Dufresne acb804e552 [1.10.x] Fixed #26890 -- Fixed IntegerField crash on Unicode numbers.
Backport of 76e19da5b0 from master
2016-07-14 09:39:18 -04:00
Tim Graham 5c56ce7a3f [1.10.x] Reverted "Fixed #25388 -- Added an option to allow disabling of migrations during test database creation"
This reverts commit 157d7f1f1d since it
disables migrations all the time, not just during tests.

Backport of 944e66cb1d from master
2016-07-14 09:22:06 -04:00
Jon Dufresne 1a2ee697e0 [1.10.x] Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field().
Backport of 2e4cfcd2b9 from master
2016-07-13 21:55:25 -04:00
Andrey Fedoseev ded5020241 [1.10.x] Fixed #17657 -- Made ModelForm respect ModelMultipleChoiceField's to_field_name.
Follow up to 67d984413c.

Backport of 81963b37a9 from master
2016-07-12 16:20:28 -04:00
Julien Hartmann 39c25b772b [1.10.x] Fixed #26749 -- Preserved behavior of use_for_related_field during deprecation.
Backport of f4afb85d7e from master
2016-07-11 13:34:18 -04:00
Loïc Bistuer a2af2420ce [1.10.x] Fixed #26881 -- Fixed duplicate managers in migrations.
When both parent and child models had managers with the same name and
a migrations opt-in both were added to the migration state.

Backport of dab83e5ba1 from master
2016-07-09 18:12:18 +07:00
Andrew Nester f683bba6f6 [1.10.x] Fixed #25292 -- Fixed crash in ManyToManyField.through_fields check.
Backport of baff4dd37d from master
2016-06-30 08:55:21 -04:00
Claude Paroz eb0e48e64a [1.10.x] Added Upper/Lower Sorbian translations
Backport of 490107f14d from master
2016-06-29 21:14:00 +02:00
Claude Paroz 4976cbf649 [1.10.x] Added Upper/Lower Sorbian languages
Backport of e8cbf53c33 from master
2016-06-29 21:13:12 +02:00
Lh4cKg e05b0d1035 [1.10.x] Added Georgian mapping to contrib/admin/static/admin/js/urlify.js
Backport of 18571aefe6 from master
2016-06-29 10:01:13 -04:00
Christopher Grebs 712838a53d [1.10.x] Fixed #26119 -- Fixed URLValidator crash on URLs with brackets.
Backport of a9e188ccd6 from master
2016-06-28 15:44:07 -04:00
Eduard Stepanov 28de25c249 [1.10.x] Fixed #26786 -- Avoided redundant max value validators on integer fields.
Backport of 49b4596cb4 from master
2016-06-28 11:40:59 -04:00
Aaron Elliot Ross 198128684b [1.10.x] Fixed #26171 -- Made MySQL create an index on ForeignKeys with db_contraint=False.
Refactored "Prevented unneeded index creation on MySQL-InnoDB" (2ceb10f)
to avoid setting db_index=False.

Backport of 6bf7964023 from master
2016-06-28 08:22:36 -04:00
Tim Graham bd97496d07 [1.10.x] Bumped version for 1.10 beta 1. 2016-06-21 21:01:17 -04:00
Sergey Fedoseev be1022d0e7 [1.10.x] Fixed #26785 -- Made Oracle return None rather than empty string for empty geometries.
Backport of ea4665066b from master
2016-06-21 18:51:08 -04:00
Simon Charette 23ac35af19 [1.10.x] Fixed #26781 -- Made table name case change a noop on SQLite.
SQLite disgresses from the SQL standard by ignoring case of quoted identifiers.

Thanks to laozzzi for the report and Tim for the review.

Backport of c2e62fd1ae from master
2016-06-21 16:38:00 -04:00
Tim Graham 1b0b6f0342 [1.10.x] Refs #21379, #26719 -- Moved username normalization to AbstractBaseUser.
Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review.

Backport of 39805686b3 from master
2016-06-21 16:20:00 -04:00
Paulo c464cf88ff [1.10.x] Fixed #26729 -- Allowed overriding a form field's label/help_text in Form.__init__() for TabularInline.
Backport of 9c2d5a8d33 from master
2016-06-21 14:32:19 -04:00
Jon Dufresne e725a68bcc [1.10.x] Fixed #26783 -- Fixed SessionMiddleware's empty cookie deletion when using SESSION_COOKIE_PATH.
Backport of d13881bd34 from master
2016-06-21 11:03:40 -04:00