Commit Graph

2859 Commits

Author SHA1 Message Date
Tim Graham e3cf8d2e94 [1.8.x] Fixed #28561 -- Removed inaccurate docs about QuerySet.order_by() and joins.
As of ccbba98131, both examples don't use
a join.

Backport of 44a6c27fd4 from master
2017-09-06 19:33:36 -04:00
Mariusz Felisiak 998bc0ced2 [1.8.x] Refs #27924 -- Doc'd that cx_Oracle < 5.3 is required.
Thanks Tim Graham for the review.

Backport of 46d602dcea from stable/1.10.x
2017-03-11 22:17:05 +01:00
Tim Graham c9ba3450bd [1.8.x] Fixed #27616 -- Fixed incorrect vary_on_headers() example.
Backport of 5e239ae907 from master
2016-12-20 08:30:54 -05:00
Mariusz Felisiak 32f50999cd [1.8.x] Fixed #27420 -- Quoted the Oracle test user password in queries.
Backport of c4b04e1598 from master
2016-11-08 16:45:12 -05:00
Tim Graham c401ae9a7d [1.8.x] Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True.
This is a security fix.
2016-10-25 15:27:45 -04:00
Marti Raudsepp 70f9995296 [1.8.x] Fixed CVE-2016-9013 -- Generated a random database user password when running tests on Oracle.
This is a security fix.
2016-10-25 14:24:11 -04:00
Tim Graham aba8f2b501 [1.8.x] Fixed #27342 -- Corrected QuerySet.update_or_create() example.
Backport of 51b83d9e51 from master
2016-10-13 11:03:38 -04:00
Tim Graham 3141b79d26 [1.8.x] Fixed #27307 -- Added missing url names in sitemaps docs.
Backport of fe1aee6b98 from master
2016-10-03 16:05:56 -04:00
Romain Garrigues 2a49d8e9b2 [1.8.x] Fixed #25461 -- Corrected meta API code examples to account for MTI.
In the case of multiple-table inheritance models, get_all_related_objects() and
get_all_related_objects_with_model() don't return the auto-created
OneToOneField, but the new examples didn't account for this.

Backport of 8be84e2ac4 from master
2016-07-06 09:28:58 -04:00
Krzysztof Jurewicz be5dfde7c2 [1.8.x] Fixed #26774 -- Corrected value of default_zoom in GeoModelAdmin doc
Backport of 6dd4d2709b from master
2016-06-17 14:03:52 +02:00
Florian Apolloner d4ad28dbdd [1.8.x] Fixed a typo in the docs.
Backport of 62e4f8ec43 from master.
2016-05-31 16:57:31 +02:00
Tim Graham e06bbf8fc3 [1.8.x] Fixed #26636 -- Fixed typo in docs/ref/request-response.txt
Backport of 6d9c5d46e6 from master
2016-05-18 21:39:58 -04:00
Mikkel Munch Mortensen 7c67508a80 [1.8.x] Fixed #26477 -- Fixed typo in docs/ref/contrib/contenttypes.txt
Backport of 4bb3ddbcc6 from master
2016-04-07 13:53:58 -04:00
Tim Graham 56f5059239 [1.8.x] Fixed #26375 -- Used a more generic name in a reusable template example.
Backport of 1d0abeaf75 from master
2016-03-18 11:38:47 -04:00
Tim Osborn ae4d932b1a [1.8.x] Fixed indenting in "Serving files in development" code example
Backport of 8fb3a2877b from master
2016-03-09 14:57:50 +11:00
Tim Graham 8b891cf386 [1.8.x] Fixed #26321 -- Added missing "for_save" parameter in expressions example.
Thanks tomaszn for the patch.

Backport of de8a11ba18 from master
2016-03-03 19:38:06 -05:00
Alasdair Nicol e4be3c80a1 [1.8.x] Fixed #26309 -- Documented that login URL settings no longer support dotted paths.
Backport of 2404d209a5 from master
2016-03-03 07:49:06 -05:00
Josh Soref 751e5fcaf7 [1.8.x] Fixed many spelling mistakes in code, comments, and docs.
Partial backport of 93452a70e8 from master
2016-02-23 10:27:15 -05:00
Sergey Fedoseev e127fbac7b [1.8.x] Fixed some code blocks indentation in GIS docs.
Backport of dbaa1a6b59 from master
2016-02-19 08:35:57 -05:00
Juan José Conti 3c2282c301 [1.8.x] Used relative models imports in the GIS tutorial.
Backport of bb7042cda from master.
2016-02-19 08:30:28 +01:00
Jon Dufresne 2029105670 [1.8.x] Followed recommended ValidationError use in docs.
Backport of 0db7e61076 from master
2016-02-17 09:10:09 -05:00
Tim Graham 009c697312 [1.8.x] Fixed #26121 -- Updated MySQL storage engine example.
default_storage_engine was introduced in MySQL 5.5.3.
storage_engine was removed in MySQL 5.7.5.

Backport of 79d0a4fdb0 from master
2016-01-22 08:22:47 -05:00
Luke Plant a034ced2ef [1.8.x] Changed `action="."` to `action=""` in tests and docs.
`action="."` strips query parameters from the URL which is not usually what
you want. Copy-paste coding of these examples could lead to difficult to
track down bugs or even data loss if the query parameter was meant to alter
the scope of a form's POST request.

Backport of 77974a684a from master
2016-01-21 14:00:23 -05:00
Chris Lamb 91d46d2fb8 [1.8.x] Discouraged use of /tmp with predictable names.
The use of predictable filenames in /tmp often leads to symlink attacks
so remove the most obvious use of them in the docs.

Backport of 77b8d8cb6d from master
2015-12-24 09:57:02 -05:00
Tim Graham 464128eb4e [1.8.x] Removed an extra header in docs/ref/templates/api.txt.
Backport of 91cd4d8e8c from master
2015-12-23 19:05:38 -05:00
Sergey Fedoseev ad8cb985a9 [1.8.x] Fixed a typo in docs/ref/contrib/gis/geos.txt.
Backport of e090070761 from master
2015-12-18 07:09:31 -05:00
Dotan Agmon f179d35f54 [1.8.x] Fixed incorrect examples in ArrayField docs.
Backport of a44dc200d0 from master
2015-12-10 17:51:46 -05:00
Andrew Plummer 4eb9a1cf2a [1.8.x] Fixed typo in docs/ref/forms/validation.txt.
Backport of 1aa8bf9b43 from master
2015-12-09 07:21:32 -05:00
Tim Graham dfd4bd5fc5 [1.8.x] Fixed typo docs/ref/models/relations.txt 2015-11-30 18:48:56 -05:00
Tim Graham 15a18090c1 [1.8.x] Fixed man page by ensuring ".pot" doesn't render unescaped.
See https://github.com/sphinx-doc/sphinx/issues/2131

Backport of 0cfe589f95 from master
2015-11-25 17:23:17 -05:00
Sergey Fedoseev 78627091f8 [1.8.x] Fixed #25649 -- Documented that all GEOSGeometry constructors take srid kwarg.
Backport of a3708fda35 from master
2015-11-25 16:30:50 -05:00
Tim Graham acaf30ad17 [1.8.x] Documented that forms.Field.help_text isn't HTML-escaped.
Backport of a918f8b089 from master
2015-11-24 10:17:39 -05:00
Bulgantamir Gankhuyag 92d0d2cb1b [1.8.x] Clarified default value for DateField to emulate auto_now_add.
Backport of 8bce6fa637 from master
2015-11-24 08:40:14 -05:00
Sergey Fedoseev 954d63155f [1.8.x] Refs #25739 -- Lessened the prominence of geos.fromstr() in the docs.
Backport of 97e1d24330 from master
2015-11-23 17:25:04 -05:00
Stephane Angel (Twidi) 8f724817f3 [1.8.x] Corrected doc'd differences between django-admin and manage.py.
Backport of 8091e8c5c6 from master
2015-11-23 07:51:33 -05:00
areski bc8bae0ba9 [1.8.x] Corrected GenericIPAddressField protocol parameter doc.
Backport of 1e7da99ea6 from master
2015-11-19 11:19:20 -05:00
Tim Graham 95eca4f508 [1.8.x] Fixed #25549 -- Documented auth_user_password_change URL.
Backport of ad167502f3 from master
2015-11-18 19:36:17 -05:00
Tim Graham e7da99abd4 [1.8.x] Refs #25526 -- Documented some missing termcolors.
Backport of 5f7f3b4685 from master
2015-11-18 10:44:19 -05:00
Alex Morozov b4aa38d106 [1.8.x] Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
Backport of 5abed864ee from master
2015-11-17 10:18:07 -05:00
René Fleschenberg 058f604ac1 [1.8.x] Fixed #25531 -- Documented that admin_order_field supports lookups.
Backport of 2c72710111 from master
2015-11-14 17:39:29 -05:00
Tim Graham 0c2532766b [1.8.x] Fixed typo in docs/ref/migration-operations.txt.
Backport of 931b946e29 from master
2015-11-14 17:20:37 -05:00
Florian Demmer da20004a61 [1.8.x] Fixed #17686, refs #17816 -- Added "Files" section to Unicode topic.
Thanks Fako Berkers for help with the patch.

Backport of 25b912abbe from master
2015-11-14 12:02:37 -05:00
Tom Christie 2f4a82e549 [1.8.x] Tweaked example text in docs/ref/templates/builtins.txt.
Backport of a32538279c from master
2015-11-13 07:40:12 -05:00
Tim Graham 967335977b [1.8.x] Replaced "inbuilt" with more common "built-in".
Backport of a8f05f405f from master
2015-11-12 17:30:47 -05:00
Sergey Fedoseev 1deaafe2f5 [1.8.x] Fixed #25728 -- Fixed description of GEOSGeometry.contains().
Backport of 34669ea6b8 from master
2015-11-11 09:35:25 -05:00
Tim Graham f787aaeb26 [1.8.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:01:11 -05:00
Thijs van Dien 78a28cca20 [1.8.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 22:02:03 +01:00
Sergey Fedoseev a71fc544c6 [1.8.x] Fixed #25660 -- Documented GEOSGeometry.dims
Backport of f98126a05a from master
2015-11-05 10:59:00 +01:00
Alex Morozov a31973c7c5 [1.8.x] Fixed #24244 -- Documented contrib.admin.models.LogEntry
Backport of 99c58c27d5 from master
2015-11-05 10:20:34 +01:00
Tim Graham f735dbb93e [1.8.x] Updated admindocs instructions for the deprecation of patterns().
Backport of 4dea29ec7b from master
2015-11-03 14:50:19 +00:00