Commit Graph

8620 Commits

Author SHA1 Message Date
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
Jon Dufresne 2875325889 Fixed #25500 -- Added --fail-level option to check command.
This option specifies the level that check command exits with a
non-zero status. Default is ``ERROR``.
2015-10-05 17:11:40 -04:00
Tim Graham b215a3ab63 Fixed #25502 -- Added supported Python versions in 1.7, 1.8 release notes. 2015-10-05 14:19:23 -04:00
John Moses 2b6344e944 Fixed #25037 -- Added request.user to the debug view. 2015-10-05 09:36:42 -04:00
Tim Graham 58195f0b16 Added stub release notes for 1.8.6. 2015-10-03 19:58:02 -04:00
Tim Graham 2eb5589a72 Added release date for 1.8.5. 2015-10-03 19:31:45 -04:00
Ben Kraft 35355a4ffe Fixed #25389 -- Fixed pickling a SimpleLazyObject wrapping a model.
Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in
particular it did not add the `_django_version` attribute added in 42736ac8.
Now it will handle this and other custom `__reduce__` methods correctly.
2015-10-03 13:00:37 -04:00
Aleksandra Tarkowska c055224763 Fixed #22938 -- Allowed clearsessions to remove file-based sessions. 2015-10-03 09:21:10 -04:00
Claude Paroz 41ed6338a4 Upgraded OpenLayers version from 2.13 to 2.13.1
Thanks Daniel Hahler for the initial patch.
2015-10-03 12:36:39 +02:00
Andrew Artajos d2ef521a53 Fixed #25398 -- Revised instances of os.path.join()
Replaced occurrences of os.path.join(BASE_DIR, 'folder/subfolder')
to os.path.join(BASE_DIR, 'folder', 'subfolder')
2015-10-03 09:07:25 +02:00
John Moses ac09d22f79 Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs. 2015-10-02 12:52:14 -04:00
Nick Williams 3f342d74e9 Fixed link to the MySQL Connector/Python Django Backend documentation. 2015-10-02 12:31:53 -04:00
Kaleb Elwert adcf823359 Fixed #25490 -- Made the logout() view send "no-cache" headers. 2015-10-02 12:29:54 -04:00
Tim Graham 8a5a002f2f Made a couple tutorial corrections for Django 1.9. 2015-10-01 15:18:43 -04:00
Tim Graham 1515b6a8b3 Removed an old note (Django 1.4-era) from the tutorial. 2015-10-01 14:51:22 -04:00