Commit Graph

21502 Commits

Author SHA1 Message Date
Marti Raudsepp 1eed16b9db [1.9.x] Fixed #25720 -- Made gettext() return bytestring on Python 2 if input is bytestring.
This is consistent with the behavior of Django 1.7.x and earlier.

Backport of d3e3703a15 from master
2015-11-11 08:57:41 -05:00
Tim Graham b2e12ea813 [1.9.x] Updated six to 1.10.0.
Backport of 4c593eaa5f from master
2015-11-11 06:54:06 -05:00
Tim Graham f10226232f [1.9.x] Fixed #25727 -- Added a doc link to cached_property.
Backport of e0de82c9b2 from master
2015-11-10 13:29:00 -05:00
Ian Foote f9a08eb897 [1.9.x] Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.
Thanks to Jamie Matthews for finding and explaining the bug.

Backport of 4608573788 from master
2015-11-10 12:12:45 -05:00
Tim Graham 3dcdfcc8d3 [1.9.x] Refs #25618 -- Forwardported 1.8.7 release note.
Forwardport of 8c8a6d8a3f from stable/1.8.x
2015-11-10 10:44:55 -05:00
Tim Graham 1ee25a9c67 [1.9.x] Removed obsolete note about installing psycopg2 on Windows.
psycopg2 now publishes binary wheel files for Windows
so you can install it using pip.

Backport of bc6eaca304 from master
2015-11-10 10:00:48 -05:00
Marti Raudsepp 8db5122d69 [1.9.x] Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.
This fixes a regression from refs #25496.

Backport of 1155843a41 from master
2015-11-09 12:44:34 -05:00
Tim Graham 6858bf758c [1.9.x] Refs #25686 -- Forwardported 1.8.7 release note. 2015-11-09 11:00:03 -05:00
Aymeric Augustin ca0278f496 [1.9.x] Fixed debug view crash during autumn DST change.
This only happens if USE_TZ = False and pytz is installed (perhaps not
the most logical combination, but who am I to jugde?)

Refs #23714 which essentially fixed the same problem when USE_TZ = True.

Thanks Florian and Carl for insisting until I wrote a complete patch.

Backport of 1014ba026e from master
2015-11-09 06:56:44 -05:00
Thijs van Dien f5e1d72de2 [1.9.x] Fixed #25473 -- Changed underscores in url() names to dashes in docs.
To improve consistency, sample URL names that had underscores
in them now use dashes instead. That excludes URL names that
have some relation to the code, such as those generated by
the admin.

Thanks guettli for reporting this.

Backport of 1679472165 from master
2015-11-07 21:59:59 +01:00
Tim Graham 1eb2ff3ff7 [1.9.x] Fixed #25290 -- Warned against modifying objects created in setUpTestData() in tests.
Backport of 81006b9657 from master
2015-11-07 20:33:49 +01:00
Neal Todd 15377fceaa [1.9.x] Amended comment to remove reference to the no longer used NullHandler 2015-11-07 16:36:40 +01:00
Claude Paroz 194f893f02 [1.9.x] Removed ability to pass a geometry string to GIS functions
This was a possible confusion source with column name arguments.
Thanks Sergey Fedoseev for the suggestion.
2015-11-07 16:06:08 +01:00
Attila Tovt a98d08f9f8 [1.9.x] Fixed #25681 -- Added 'default' to DATABASES example.
Backport of ac750dbbc0 from master
2015-11-07 11:10:00 +01:00
Sergey Fedoseev a55135418e [1.9.x] Fixed #25660 -- Documented GEOSGeometry.dims
Backport of f98126a05a from master
2015-11-05 10:58:56 +01:00
Alex Morozov 494046542c [1.9.x] Fixed #24244 -- Documented contrib.admin.models.LogEntry
Backport of 99c58c27d5 from master
2015-11-05 10:20:27 +01:00
Tim Graham 1b72e3fbf3 [1.9.x] Added stub release notes for 1.8.7.
Backport of d49b36e485 from master
2015-11-05 09:43:42 +01:00
Tim Graham 4dc34becf6 [1.9.x] Added release date for 1.8.6. 2015-11-04 17:48:26 +01:00
Tim Graham 2a7f9d68ea [1.9.x] Updated admindocs instructions for the deprecation of patterns().
Backport of 4dea29ec7b from master
2015-11-03 14:50:15 +00:00
Alex Morozov ecb3e314cb [1.9.x] Fixed #25132 -- Documented how to retrieve a single value using values_list() and get().
Backport of 4373eac998 from master
2015-11-03 12:24:45 +00:00
Ville Skyttä a3bbc38d54 [1.9.x] Fixed #25668 -- Misc spelling errors
Backport of 3ee18400ae from master
2015-11-03 10:33:05 +00:00
japrogramer ed3e066cc1 [1.9.x] Fixed typo in docs/topics/auth/default.txt.
Backport of a10cbbbc17 from master
2015-11-03 08:57:03 +00:00
Sergey Fedoseev 306efc8e45 [1.9.x] Fixed #25661 -- Fixed checking number of points during list assignment for `LinearRing`.
Backport of 1b598b4b4 from master.
2015-11-02 22:42:10 +01:00
Sergey Fedoseev 51e71a6e59 [1.9.x] Refs #25632 -- Corrected database support docs for GeoDjango DB functions.
Backport of 5ce84b8044 from master
2015-10-31 10:23:01 -04:00
Sergey Fedoseev 429c336376 [1.9.x] Refs #25636 -- Updated instructions for libspatialite source installation
Backport of cdb17dcb64 from master
2015-10-31 09:38:21 -04:00
Tomasz Anielak f1859d9100 [1.9.x] Fixed typo in docs/topics/db/models.txt.
Backport of b67502fb8d from master
2015-10-31 08:53:45 -04:00
Bryan Marty a09a889a57 [1.9.x] Fixed #24212 -- Added example pylibmc CACHES configuration.
Backport of ad67fcdf51 from master
2015-10-30 13:45:47 -04:00
bee_keeper 7b03595489 [1.9.x] Added class-based view example to RequestFactory example.
Backport of a17216646a from master
2015-10-30 13:14:20 -04:00
Tim Graham 703369fb25 [1.9.x] Refs #24499 -- Removed an obsolete test check for PostGIS 1.5.
Backport of ab873e7a68 from master
2015-10-30 11:30:08 -04:00
Tim Graham 78f9805755 [1.9.x] Fixed #24019 -- Fixed inaccurate docs about GenericRelation not supporting aggregation.
This works at least as far back as Django 1.6 according to the test
added in refs #10870.

Backport of e19bd086d6 from master
2015-10-30 10:36:56 -04:00
Tim Graham 8b1c386f80 [1.9.x] Fixed #25100 -- Documented an upgrade caveat for contenttypes migration.
Backport of 81b55fb900 from master
2015-10-30 10:31:05 -04:00
Tim Graham 31a51a04e8 [1.9.x] Fixed #21422 -- Documented that prefetch_related() results must be homogeneous.
Backport of 69239c0f96 from master
2015-10-30 10:28:10 -04:00
Sergey Fedoseev 8b92839769 [1.9.x] Fixed #25641 -- Removed section about adding Google projection to spatial_ref_sys table
Backport of 9ae8da0e3 from master.
2015-10-30 10:07:30 +01:00
Tim Graham 83607e2b7a [1.9.x] Fixed #23985 -- Documented a backwards incompatible change in URLValidator.
Backport of 8c5b8018f6 from master
2015-10-29 18:07:02 -04:00
Tim Graham adc9fa8324 [1.9.x] Fixed #25489 -- Documented that SESSION_SAVE_EVERY_REQUEST doesn't create empty sessions.
Backport of abf5ccc29c from master
2015-10-29 17:29:16 -04:00
Simon Charette 6eaf43a244 [1.9.x] Fixed #25622 -- Accounted for generic relations in the admin to field validation
Thanks to Jonathan Liuti for the report and Tim Graham for the review.

Backport of 9dcfecb7c6 from master
2015-10-29 13:15:40 -04:00
Dheerendra Rathor 6bb9f51ab8 [1.9.x] Fixed #25620 -- Made URLValidator prohibit URLs with consecutive dots in the domain section.
Backport of 96fe90f535 from master
2015-10-29 11:14:20 -04:00
Sergey Fedoseev 6fb9424ff0 [1.9.x] Fixed #25631 -- Fixed support detection for some DB functions in SpatiaLite backend. 2015-10-29 10:31:50 -04:00
Sergey Fedoseev d11f63ca92 [1.9.x] Fixed #25632 -- Documented missing version requirements for GeoDjango DB functions.
Backport of 0bd067d095 from master
2015-10-29 08:38:30 -04:00
Sergey Fedoseev 848a0674c4 [1.9.x] Fixed #25630 -- Replaced `AsGeoHash` with `GeoHash` in unsupported GIS functions
Backport of 7521bb95d5 from master.
2015-10-29 13:35:34 +01:00
Sergey Fedoseev f1054d1f1d [1.9.x] Fixed required SpatiaLite version in docs.
Refs bc0aba7786 which dropped
support for SpatiaLite < 2.4.

Backport of 1a10ae45b1 from master
2015-10-29 07:57:56 -04:00
Tim Graham 9e7d0d90cc [1.9.x] Fixed #25627, refs #25618 -- Removed detection of south migrations in loader.
Backport of c4af8eb366 from master
2015-10-29 07:37:47 -04:00
Bryan Marty 44f177b5cd [1.9.x] Fixed #21516 -- Updated imports paths for some formset functions/classes.
Since refs #21489, FormSet classes and factories are exposed on the
django.forms package.

Backport of 455034d4df from master
2015-10-28 15:46:45 -04:00
Tim Graham 46850e2c85 [1.9.x] Ignored docutils deprecation warnings in runtests.py.
Backport of dbe79d9660 from master
2015-10-28 14:07:22 -04:00
Tim Graham 411b8da362 [1.9.x] Made LiveServerTestCase example use StaticLiveServerTestCase.
Backport of 6b5ae92927 from master
2015-10-28 13:51:22 -04:00
Tim Graham 774a893d0b [1.9.x] Fixed #25618 -- Added a helpful error message when Django & south migrations exist in the same directory.
Forwardport of 65bff161ff from stable/1.8.x
2015-10-28 10:19:35 -04:00
Tim Graham b49716cd99 [1.9.x] Added "Attributes set by application code" section to HttpRequest.
Backport of dc193d0f6d from master
2015-10-28 09:35:54 -04:00
Ian Foote 32e804cdb7 [1.9.x] Fixed #25609 -- Fixed regression in related field nested lookup error.
Backport of 32ef48aa56 from master
2015-10-27 13:57:52 -04:00
Simon Charette da9e9484f2 [1.9.x] Revert "Fixed #25417 -- Added a field check for invalid default values."
This reverts commit 71ebcb85b9.

Backport of 976bd519a8 from master
2015-10-27 11:17:02 -04:00
Tim Graham 1c0f598764 [1.9.x] Removed unnecessary app_label='auth' on auth_tests models.
This is a relic of when the tests were stored in contrib.auth.tests.

Backport of 590b8c1c57 from master
2015-10-27 08:38:19 -04:00