Commit Graph

21626 Commits

Author SHA1 Message Date
Laura Feier 7862cbda86 Fixed #24576 -- Made deletion of related objects deterministic. 2015-11-09 15:04:48 -05:00
Dwight Gunning 1f29164ced Fixed #6727 -- Made patch_cache_control() patch an empty Cache-Control header. 2015-11-09 14:26:29 -05:00
Marti Raudsepp 1155843a41 Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.
This fixes a regression from refs #25496.
2015-11-09 12:42:36 -05:00
Tim Graham c6da4b0c68 Refs #25686 -- Forwardported 1.8.7 release note. 2015-11-09 10:58:48 -05:00
Aymeric Augustin 1014ba026e 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.
2015-11-07 23:17:33 +01:00
Thijs van Dien 1679472165 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.
2015-11-07 21:58:45 +01:00
Dmitry Dygalo 917100eed7 Simplified dict initialization in two places. 2015-11-07 21:46:46 +01:00
lobziik 7a48f9abf2 Renamed a test file that has no tests. 2015-11-07 21:28:13 +01:00
j0hnsmith 0115f9faa5 Fixed #25692 -- Added natural keys support to Site model. 2015-11-07 21:19:25 +01:00
Tim Graham 81006b9657 Fixed #25290 -- Warned against modifying objects created in setUpTestData() in tests. 2015-11-07 20:27:46 +01:00
Neal Todd c3a974c81e Amended comment to remove reference to the no longer used NullHandler 2015-11-07 16:35:46 +01:00
Claude Paroz c3531d2f20 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:04:24 +01:00
Claude Paroz 24c1605aa0 Fixed GIS test failures when GDAL is not installed
Thanks Iacopo Spalletti for the report and testing.
2015-11-07 15:12:54 +01:00
Attila Tovt ac750dbbc0 Fixed #25681 -- Added 'default' to DATABASES example. 2015-11-07 11:09:31 +01:00
Sergey Fedoseev 5f7035cec7 Fixed #25673 -- Made `GeometryField.from_db_value` set SRID 2015-11-06 20:45:31 +01:00
Sergey Fedoseev f98126a05a Fixed #25660 -- Documented GEOSGeometry.dims 2015-11-05 10:33:25 +01:00
Alex Morozov 99c58c27d5 Fixed #24244 -- Documented contrib.admin.models.LogEntry 2015-11-05 09:47:18 +01:00
Tim Graham d49b36e485 Added stub release notes for 1.8.7. 2015-11-05 09:22:12 +01:00
Tim Graham dacec66c79 Added release date for 1.8.6. 2015-11-04 17:48:49 +01:00
Tim Graham 4dea29ec7b Updated admindocs instructions for the deprecation of patterns(). 2015-11-03 14:43:30 +00:00
Alex Morozov 4373eac998 Fixed #25132 -- Documented how to retrieve a single value using values_list() and get(). 2015-11-03 12:23:45 +00:00
Tim Graham ebd26bf5a5 Removed an extra heading in the 1.10 release notes. 2015-11-03 12:02:25 +00:00
Ville Skyttä 3ee18400ae Fixed #25668 -- Misc spelling errors 2015-11-03 11:58:13 +02:00
japrogramer a10cbbbc17 Fixed typo in docs/topics/auth/default.txt. 2015-11-03 08:56:23 +00:00
Sergey Fedoseev a449b7ef99 Fixed #25629 -- Added checks of the number of arguments for GeoDjango DB functions. 2015-11-03 08:20:08 +01:00
Sergey Fedoseev 1b598b4b42 Fixed #25661 -- Fixed checking number of points during list assignment for `LinearRing`. 2015-11-02 22:38:33 +01:00
Sergey Fedoseev 0a26121797 Refs #25629 -- Added `arity` class attribute to `Func` expressions 2015-11-02 20:09:21 +01:00
Sergey Fedoseev 03c6ad7ad4 Fixed #25664 -- Fixed `dims` for `Point` 2015-11-02 19:52:16 +01:00
Sergey Fedoseev 7127eb287f Fixed #25659 -- Added missing support for MySQL 5.6.1 GIS functions
Added support for ST_Difference/ST_Intersection/ST_SymDifference.
2015-11-02 19:25:53 +01:00
Sergey Fedoseev b78226cd3d Fixed #25655 -- Dropped support for GEOS < 3.3 2015-11-01 20:41:52 +01:00
Dheerendra Rathor 06627ef2ca Fixed #25635 -- Made URLValidator allow '+' in scheme. 2015-10-31 17:50:05 -04:00
Sergey Fedoseev 5ce84b8044 Refs #25632 -- Corrected database support docs for GeoDjango DB functions. 2015-10-31 10:22:32 -04:00
Sergey Fedoseev cdb17dcb64 Refs #25636 -- Updated instructions for libspatialite source installation 2015-10-31 14:22:34 +01:00
Sergey Fedoseev 8ad923b9d0 Fixed #25636 -- Dropped support for SpatiaLite < 3.0 2015-10-31 14:22:34 +01:00
Tomasz Anielak b67502fb8d Fixed typo in docs/topics/db/models.txt. 2015-10-31 08:53:00 -04:00
Tim Graham c7b8d5d135 Refs #25550 -- Removed reverse related set assignment in selenium tests. 2015-10-30 21:16:56 -04:00
Bryan Marty ad67fcdf51 Fixed #24212 -- Added example pylibmc CACHES configuration. 2015-10-30 13:45:07 -04:00
bee_keeper a17216646a Added class-based view example to RequestFactory example. 2015-10-30 13:13:51 -04:00
Tim Graham ab873e7a68 Refs #24499 -- Removed an obsolete test check for PostGIS 1.5. 2015-10-30 11:02:00 -04:00
Tim Graham e19bd086d6 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.
2015-10-30 10:35:03 -04:00
Tim Graham 81b55fb900 Fixed #25100 -- Documented an upgrade caveat for contenttypes migration. 2015-10-30 10:30:19 -04:00
Tim Graham 69239c0f96 Fixed #21422 -- Documented that prefetch_related() results must be homogeneous. 2015-10-30 10:26:54 -04:00
Sergey Fedoseev 9ae8da0e37 Fixed #25641 -- Removed section about adding Google projection to spatial_ref_sys table 2015-10-30 10:05:48 +01:00
Tim Graham 8c5b8018f6 Fixed #23985 -- Documented a backwards incompatible change in URLValidator. 2015-10-29 18:03:38 -04:00
Tim Graham abf5ccc29c Fixed #25489 -- Documented that SESSION_SAVE_EVERY_REQUEST doesn't create empty sessions. 2015-10-29 17:28:37 -04:00
Claude Paroz 7d81ee6efc Fixed #16734 -- Set script prefix even outside of requests
Thanks Tim Graham for the review.
2015-10-29 20:12:38 +01:00
Simon Charette 9dcfecb7c6 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.
2015-10-29 13:13:19 -04:00
Dheerendra Rathor 96fe90f535 Fixed #25620 -- Made URLValidator prohibit URLs with consecutive dots in the domain section. 2015-10-29 10:59:22 -04:00
Tim Graham 15ef1dd478 Fixed #20846 -- Increased User.username max_length to 254 characters.
Thanks Collin Anderson and Nick Sandford for work on the patch.
2015-10-29 08:58:49 -04:00
Sergey Fedoseev 0bd067d095 Fixed #25632 -- Documented missing version requirements for GeoDjango DB functions. 2015-10-29 08:36:10 -04:00