1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
Commit Graph

8576 Commits

Author SHA1 Message Date
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
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
Attila Tovt
ac750dbbc0 Fixed #25681 -- Added 'default' to DATABASES example. 2015-11-07 11:09: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
japrogramer
a10cbbbc17 Fixed typo in docs/topics/auth/default.txt. 2015-11-03 08:56:23 +00:00
Sergey Fedoseev
0a26121797 Refs #25629 -- Added arity class attribute to Func expressions 2015-11-02 20:09:21 +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
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
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
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
Sergey Fedoseev
1a10ae45b1 Fixed required SpatiaLite version in docs.
Refs bc0aba7786 which dropped
support for SpatiaLite < 2.4.
2015-10-29 07:57:12 -04:00
Bryan Marty
455034d4df Fixed #21516 -- Updated imports paths for some formset functions/classes.
Since refs #21489, FormSet classes and factories are exposed on the
django.forms package.
2015-10-28 15:44:53 -04:00
Tim Graham
6b5ae92927 Made LiveServerTestCase example use StaticLiveServerTestCase. 2015-10-28 13:50:56 -04:00
Claude Paroz
40a2262506 Added versionadded directive for GDALRaster.srid
Complement to 48548d1a47.
2015-10-28 15:35:23 +01:00
Daniel Wiesmann
48548d1a47 Refs #25588 -- Added the srid property to GDALRaster
Geometry objects have an srid property, so this addition makes the raster api
more similar to the geometries api.
2015-10-28 15:27:19 +01:00
Tim Graham
e5ab75d2fd Refs #25618 -- Forwardported 1.8.6 release note.
Forwardport of 65bff161ff from stable/1.8.x
2015-10-28 10:20:26 -04:00
Tim Graham
dc193d0f6d Added "Attributes set by application code" section to HttpRequest. 2015-10-28 09:26:23 -04:00
Simon Charette
976bd519a8 Revert "Fixed #25417 -- Added a field check for invalid default values."
This reverts commit 71ebcb85b9.
2015-10-27 11:02:35 -04:00
Tim Graham
1f07da3e29 Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid value. 2015-10-27 08:11:11 -04:00
Tim Graham
9c5e272860 Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
Tim Graham
23073f9644 Added Django 1.10 to Python version support table. 2015-10-26 10:28:53 -04:00
Tim Graham
1ce8512c87 Documented Python 3.5 support for Django 1.8.
Forwardport of d27085b02d from stable/1.8.x
2015-10-26 10:13:22 -04:00
Tim Graham
e0c0080e29 Fixed typo in docs/ref/contrib/admin/index.txt 2015-10-26 09:03:04 -04:00
Tim Graham
d6a9074783 Documented related model descriptor class renames.
Renamed in e542e81b39.
2015-10-26 08:51:09 -04:00
Curtis Maloney
35440ceab7 Optimized docs images and documented the process. 2015-10-24 14:57:21 -04:00