arniu
cb32292176
Made doc icons background transparent.
2015-11-11 11:37:28 -05:00
Sergey Fedoseev
34669ea6b8
Fixed #25728 -- Fixed description of GEOSGeometry.contains().
2015-11-11 09:34:58 -05:00
Marti Raudsepp
d3e3703a15
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.
2015-11-11 08:56:10 -05:00
Tim Graham
4c593eaa5f
Updated six to 1.10.0.
2015-11-10 22:05:48 -05:00
Tim Graham
e0de82c9b2
Fixed #25727 -- Added a doc link to cached_property.
2015-11-10 13:28:14 -05:00
Ian Foote
4608573788
Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.
...
Thanks to Jamie Matthews for finding and explaining the bug.
2015-11-10 12:12:07 -05:00
Tim Graham
dbbae2cead
Refs #25618 -- Forwardported 1.8.7 release note.
...
Forwardport of 8c8a6d8a3f
from stable/1.8.x
2015-11-10 10:42:32 -05:00
Tim Graham
bc6eaca304
Removed obsolete note about installing psycopg2 on Windows.
...
psycopg2 now publishes binary wheel files for Windows
so you can install it using pip.
2015-11-10 09:59:23 -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
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
Jon Dufresne
3c7d2ee881
Fixed #25604 -- Added makemigrations --check option.
...
Command exits with non-zero status if changes without migrations exist.
2015-10-24 14:45:00 -04:00
Sergey Fedoseev
a7bb5af50b
Fixed #25583 -- Allowed calling `transform` with `CoordTransform` even if SRID is invalid.
2015-10-24 11:39:24 -04:00
Tim Graham
02ef96c5e5
Fixed #25434 -- Documented HttpRequest.site and created a section for middleware attributes.
...
Thanks Nick Pope for the initial patch.
2015-10-24 09:46:22 -04:00
Sergey Fedoseev
310049a5ae
Fixed #25603 -- Made clear that geometry's SRID is meant in docs for GEOSGeometry.transform.
2015-10-24 10:53:48 +02:00
Jacek Bzdak
494b7986a3
Fixed #25397 -- Documented class-based view context variable clash with context processors.
2015-10-23 15:18:39 -04:00
薛丞宏
484edc81c1
Clarified that the test client response content attribute is bytes.
2015-10-23 14:26:19 -04:00
Tim Graham
f242ad27a4
Added "subpath" to spelling wordlist.
2015-10-22 15:01:33 -04:00
Claude Paroz
c08f85fd54
Fixed #25592 -- Fixed misnamed strictly_above PostGIS lookup
...
Fixes a regression from 2bd1bbc42
. Thanks Daniel Wiesmann for the report
and Tim Graham for the review.
2015-10-22 20:32:31 +02:00
Benjamin Wohlwend
2b9eed41fa
Refs #24622 -- Documented alternatives to some test response attributes when using alternative template engines.
2015-10-22 14:10:56 -04:00
Dheerendra Rathor
59e85f09c6
Fixed #25519 -- Made the admin "View site" link point to sites running on a subpath.
...
Used request.META['SCRIPT_NAME'] as the site_url if it hasn't been
customized from the default value of '/'.
2015-10-22 13:51:00 -04:00
Tim Graham
ee66d8dd7d
Fixed #25584 -- Documented a pip error when installing Django 1.9.
2015-10-22 09:53:46 -04:00
Tim Allen
1ce11f6064
Revised Windows install instructions for Python 3.5.
...
Added instructions for installing virtualenv and virtualenvwrapper.
2015-10-21 20:25:57 -04:00
Tim Graham
80855a4b37
Fixed #21894 -- Corrected a form.clean() example in case a superclass doesn't return data.
2015-10-21 13:50:48 -04:00
Jacek Bzdak
32cd706971
Fixed #25574 -- Documented {{ dict.items }} shadowing in for template tag docs.
2015-10-21 11:43:45 -04:00
Jon Dufresne
05248a1009
Fixed #25576 -- Added IOBase methods required by TextIOWrapper to HttpResponse.
2015-10-21 10:42:29 -04:00
Yusuke Miyazaki
230d8c7301
Fixed #25578 -- Corrected the casing of "GitHub".
2015-10-21 07:31:11 -04:00
Andrew Artajos
48888a1a67
Fixed #25501 -- Made the file-based cache backend use the highest pickling protocol.
2015-10-20 13:05:33 -04:00
Tim Graham
541aa2434d
Removed "how to release Django" steps for 1.4 (no longer supported).
2015-10-19 21:01:28 -04:00
Simon Charette
3db3ab71e9
Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps.
...
Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review.
2015-10-19 20:11:32 -04:00
Aymeric Augustin
df0a446fd4
Fixed #25510 -- Allowed runserver to start with incorrect INSTALLED_APPS.
...
In that case, the content of INSTALLED_APPS will be ignored until it's
fixed and the autoreloader kicks in. I confirmed this behavior manually.
As explained on the ticket it's hard to write a test for this case
2015-10-18 10:34:04 +02:00
Josh Smeaton
6c95b134e9
Fixed #25517 -- Made Concat function idempotent on SQLite.
2015-10-17 15:51:04 -04:00
Tim Graham
4cc6f8b764
Forwardported 1.8.6 release note.
2015-10-14 12:22:53 -07:00
Antoine Catton
b971c1cd78
Fixed #25506 -- Allowed filtering over a RawSQL annotation.
...
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
2015-10-14 11:13:58 -07:00
Tim Graham
c7aff31397
Refs #25535 -- Minor edits to ForeignObject check changes.
2015-10-14 05:21:08 -07:00
Sergey Fedoseev
92c1ae1b0b
Fixed quotes in GeoQuerySet aggregates examples.
2015-10-13 23:39:29 -04:00
Tim Graham
f6b9e6bf4f
Fixed typo in docs/ref/models/relations.txt.
2015-10-13 04:24:22 -07:00
Claude Paroz
533c10998a
Added precision about GeoJSON field outputs
2015-10-12 21:48:29 +02:00
Simon Charette
5b980897f2
Refs #18012 -- Made proxy and concrete model reverse fields consistent.
...
Prior to this change proxy models reverse fields didn't include the
reverse fields pointing to their concrete model.
2015-10-12 12:14:27 -04:00
Simon Charette
6c9f37ea9e
Fixed #18012 -- Propagated reverse foreign keys from proxy to concrete models.
...
Thanks to Anssi for the review.
2015-10-12 12:14:26 -04:00
Idan Gazit
c8f091f5bc
Updated stale links.
2015-10-12 14:24:27 +03:00
Claude Paroz
617b1a21f5
Fixed #25498 -- Documented ST_Distance/ST_Distance_Sphere difference
...
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-11 12:24:33 +02:00
Tim Graham
67732a9b18
Fixed #24687 -- Added select_related() validation for nested non-relational fields.
...
The removed test was added in the original select_related() validation
patch (45d4e43d2d
), but there doesn't
seem to be any reason for it.
Thanks Claude Paroz for help and review.
2015-10-10 09:48:50 -04:00
Tim Graham
49320c2b1f
Fixed typo in docs/releases/1.10.txt.
2015-10-09 21:09:25 -04:00
Claude Paroz
37d06cfc46
Fixed #25499 -- Added the ability to pass an expression in distance lookups
...
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-09 15:27:47 +02:00
Tim Graham
25f287f6b2
Refs #25527 -- Removed redundant doc heading link that leads to a warning when generating PDF.
2015-10-07 19:35:18 -04:00
Claude Paroz
9a6fc9606c
Added some function links in translation docs
2015-10-07 17:25:23 +02:00
Mariusz Felisiak
914167abf1
Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model.
2015-10-06 19:22:37 -04:00
Tim Graham
3f766d44c5
Fixed #25515 -- Documented the return value of BaseCommand.handle()
2015-10-06 15:08:15 -04:00
Tim Graham
cb15ceb555
Fixed #25516 -- Documented that parallel test excution doesn't work with pdb.
2015-10-06 13:25:14 -04:00
Tim Graham
e0837f2cb1
Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list.
2015-10-06 12:38:34 -04:00
Riccardo Magliocchetti
3543fec3b7
Refs #12118 -- Allowed "mode=memory" in SQLite test database names.
2015-10-06 12:32:05 -04:00
Tim Graham
6afa6818fc
Fixed #25496 -- Made ModelChoiceField respect prefetch_related().
2015-10-05 18:21:56 -04:00