Commit graph

3082 commits

Author SHA1 Message Date
Alasdair Nicol
c6d39c644d [1.9.x] Fixed #26309 -- Documented that login URL settings no longer support dotted paths.
Backport of 2404d209a5 from master
2016-03-03 07:48:28 -05:00
Michal Petrucha
468c6a3b63 [1.9.x] Fixed #26217 -- Added a warning about format strings to WeekArchiveView docs.
Backport of fe8ea3ba3b from master
2016-03-01 10:34:15 -05:00
acemaster
73d8e646d7 [1.9.x] Fixed #26165 -- Added some FAQs about CSRF protection.
Thanks Florian Apolloner and Shai Berger for review.

Backport of a1b1688c7d from master
2016-03-01 09:04:16 -05:00
Taranjeet
46c6ac1ffc [1.9.x] Fixed typos in docs/ref/models/meta.txt.
Backport of 11a8207d42 from master
2016-03-01 08:34:16 -05:00
Simon Charette
48cf751640 [1.9.x] Fixed #26186 -- Documented how app relative relationships of abstract models behave.
This partially reverts commit bc7d201bdb.

Thanks Tim for the review.

Refs #25858.

Backport of 0223e213dd from master
2016-02-29 22:13:54 -05:00
inondle
e96cdc6f99 [1.9.x] Fixed #26275 -- Noted difference between o and Y date format chars.
Backport of 5fb9756eba from master
2016-02-27 08:07:39 -05:00
Tim Graham
7f02c1eded [1.9.x] Fixed #26278 -- Clarified apps.ready docs.
Backport of 1f8cfcf3b4 from master
2016-02-25 08:56:13 -05:00
Sergey Fedoseev
9c508e4de8 [1.9.x] Fixed some code blocks indentation in GIS docs.
Backport of dbaa1a6b59 from master
2016-02-19 08:35:11 -05:00
Juan José Conti
9357fdb613 [1.9.x] Used relative models imports in the GIS tutorial.
Backport of bb7042cda from master.
2016-02-19 08:29:36 +01:00
Tim Graham
277b39cbbc [1.9.x] Added intended use in the admin's introduction.
Backport of b954ad0640 from master
2016-02-18 09:12:06 -05:00
Tim Graham
477b82cf8a [1.9.x] Fixed #25687 -- Documented how to add database function support to third-party backends.
Thanks Kristof Claes for the initial patch.

Backport of 88034c9938 from master
2016-02-17 13:36:55 -05:00
Jon Dufresne
61f1b6ff21 [1.9.x] Followed recommended ValidationError use in docs.
Backport of 0db7e61076 from master
2016-02-17 09:07:11 -05:00
userimack
c5d591733f [1.9.x] Fixed #26182 -- Removed an obsolete (refs #24917) paragraph in admindocs.
Backport of 75143fa13f from master
2016-02-09 09:49:55 -05:00
userimack
f3194d951d [1.9.x] Fixed #26181 -- Corrected AngularJS CSRF example.
Backport of 7a7b82e6f4 from master
2016-02-09 09:38:04 -05:00
Sergey Fedoseev
2526e452b6 [1.9.x] Fixed spelling -- super set -> superset.
Backport of f8e865d78f from master
2016-02-06 08:28:25 -05:00
Blake Griffith
daa80aceec [1.9.x] Changed gypsy to manouche in docs and tests.
"Gypsy" is considered a slur by the Romani people whom it refers to.
"manouche jazz" is used in place of "gypsy jazz" and is an accepted
term for the same genre of music.

Backport of 5fdbd9e36c from master
2016-02-03 09:48:01 -05:00
Tim Graham
a201df396e [1.9.x] Made identation of default setting docs more consistenct.
Backport of 67907ed845 from master
2016-02-02 11:42:46 -05:00
Tim Graham
a9fbf0735a [1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.
Backport of a6ef025dfb from master
2016-02-01 11:54:26 -05:00
Tim Graham
d7a6086825 [1.9.x] Fixed #23868 -- Added support for non-unique django-admin-options in docs.
Also documented missing short command line options to fix #24134. This bumps
the minimum sphinx version required to build the docs to 1.3.4.

Thanks Simon Charette for review.

Backport of e519aab43a from master
2016-02-01 11:25:42 -05:00
Tim Graham
0495f44b8d [1.9.x] Unified some doc links to OneToOneField and ManyToManyField.
Backport of 8ce8beb3f2 from master
2016-02-01 11:02:53 -05:00
Yoong Kang Lim
5d97839039 [1.9.x] Fixed #26156 -- Added createsuperuser instructions to admin docs.
Backport of 9644e2e968 from master
2016-01-30 12:32:58 -05:00
Tim Graham
5ead386a20 [1.9.x] Made formatting of docs for settings defaults more consistent.
Backport of 2436b83dfd from master
2016-01-29 15:06:58 -05:00
Tim Graham
d6d8fd3b82 [1.9.x] Fixed #26137 -- Confirmed support for SpatiaLite 4.2/4.3 and added instructions.
Backport of 93897a6a75 from master
2016-01-29 08:54:46 -05:00
Tim Graham
6103b49900 [1.9.x] Fixed #25917 -- Clarified reversibility of RemoveField.
Thanks kaifeldhoff for the draft patch.

Backport of 55481bcdee from master
2016-01-28 12:50:02 -05:00
Chris Lamb
3306106fb1 [1.9.x] Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.
Debian packages unconditionally byte-compile .py files on installation and
do not silence errors by design. Therefore, we need a way of shipping these
invalid .py files without a .py extension but ensuring that when we
template them, they end up as .py.

We don't special-case .py files so that the all the TemplateCommand
command-line options (eg. extra_files and extensions) still work entirely
as expected and it may even be useful for other formats too.

Backport of abc0777b63 from master
2016-01-25 12:44:14 -05:00
Elif T. Kus
5dceb1f078 [1.9.x] Fixed #26020 -- Normalized header stylings in docs.
Backport of bca9faae95 from master
2016-01-22 12:18:24 -05:00
Tim Graham
647ce33e86 [1.9.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:43 -05:00
Luke Plant
b5c4972283 [1.9.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:06 -05:00
Danilo Bargen
577ec6fcd1 [1.9.x] Added docs about configuring CSRF support in AngularJS.
Backport of 6a4f13de27 from master
2016-01-15 10:16:57 -05:00
Tim Graham
f619b72815 [1.9.x] Fixed #26078 -- Clarified "old vs. new" in model._meta upgrade guide.
Thanks Thomas Güttler for the suggestion.

Backport of 28acc0d6df from master
2016-01-14 07:30:08 -05:00
Tim Graham
12554693e4 [1.9.x] Removed an unncessary docs cross-reference for call_command().
Backport of a7752780d9 from master
2016-01-12 18:02:20 -05:00
Tim Graham
a63b7c479e [1.9.x] Made CommandError use the exception directive in docs.
Backport of 555f8e9d5c from master
2016-01-12 12:32:03 -05:00
pp
1cbc556bce [1.9.x] Added missing period to "etc.".
Backport of b34ff66e5b from master
2016-01-11 18:05:56 -05:00
pp
76b4015ea9 [1.9.x] Refs #25755 -- Unified a couple more spellings of 'website'.
Backport of c8d970a548 from master
2016-01-11 06:16:49 -05:00
Tim Graham
3503b816cf [1.9.x] Refs #25995 -- Documented that JSONField doesn't handle sophisticated serialization.
Backport of c432dd40bd from master
2016-01-08 19:59:14 -05:00
wingston sharon
abcf3fe684 [1.9.x] Fixed #25928 -- Clarified precendence of USE_THOUSAND_SEPARATOR and locale formats.
Backport of 7f218d9891 from master
2016-01-07 14:32:38 -05:00
Tim Graham
c74b1b408a [1.9.x] Refs #25878 -- Added the expected return type of CSRF_FAILURE_VIEW.
Backport of 62e83c71d2 from master
2016-01-06 07:10:34 -05:00
Tim Graham
35fd2a6fd5 [1.9.x] Fixed #25878 -- Documented requirement that handler404 return a 404 response.
Backport of 49eeb0f570 from master
2016-01-05 12:46:06 -05:00
Tim Graham
0a72ad3952 [1.9.x] Fixed #26032 -- Moved "project root directory" to a separate paragraph.
Backport of b07f91600d from master
2016-01-04 10:55:30 -05:00
Tim Graham
5855bee1d1 [1.9.x] Removed British/Austrialian word: whilist.
Backport of 98839e9066 from master
2015-12-31 14:31:59 -05:00
Tim Graham
406acd66e3 [1.9.x] Fixed #25748 -- Added clarification on projects vs. applications.
Thanks Thomas Güttler for motivating this addition.

Backport of e051930123 from master
2015-12-30 17:51:11 -05:00
Gen1us2k
23cad094f6 [1.9.x] Added docs example for manually creating a column with RunSQL.
Backport of a1d0c60fa0 from master
2015-12-25 18:29:09 -05:00
Tim Graham
85159b9819 [1.9.x] Refs #13008 -- Forwardported 1.8.8 release note.
Forwardport of b51086d573 from stable/1.8.x
2015-12-24 11:38:39 -05:00
Chris Lamb
47f3ee2625 [1.9.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:56:54 -05:00
Tim Graham
b0303803d6 [1.9.x] Removed an extra header in docs/ref/templates/api.txt.
Backport of 91cd4d8e8c from master
2015-12-23 19:05:35 -05:00
Tim Graham
d162b0bcd8 [1.9.x] Fixed #25969 -- Replaced render_to_response() with render() in docs examples.
Backport of 4d83b0163e from master
2015-12-23 10:50:55 -05:00
Sergey Fedoseev
91c976b64b [1.9.x] Documented that GDAL is required to initialize GEOSGeometry from JSON.
Backport of febe1321da from master
2015-12-23 07:58:36 -05:00
Sergey Fedoseev
3f04850f82 [1.9.x] Refs #25141 -- Removed note that says that GEOSGeometry.json requires GDAL.
Backport of 0224f1cb04 from master
2015-12-23 07:28:14 -05:00
Tim Graham
923a4fb20a [1.9.x] Fixed #25965 -- Added removal of sql* commands to 1.9 release notes.
Backport of d52b0c5b38 from master
2015-12-22 13:00:24 -05:00
Tim Graham
571f7b759e [1.9.x] Fixed #25949 -- Documented Psycopg2 version requirement for JSONField.
Backport of b26d147259 from master
2015-12-19 07:25:28 -05:00