21765 Commits

Author SHA1 Message Date
Sergey Fedoseev
2526e452b6 [1.9.x] Fixed spelling -- super set -> superset.
Backport of f8e865d78f9acb1ad976cffffb207d66ff8cef72 from master
2016-02-06 08:28:25 -05:00
Manish Rastogi
23509a895f [1.9.x] Fixed #26169 -- Fixed tutorial reference in reusable apps tutorial.
Backport of ad216381fcd7d3d62f1639f9998f5a965d8eaedb from master
2016-02-04 07:55:07 -05:00
Carl Meyer
239a1f74fd [1.9.x] Fix typos in 1.8 release notes.
Backport of a0ce4c09ff516af52718885120c2231404515428 from master
2016-02-03 15:27:35 -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 5fdbd9e36c861cb9f2cdb255a1bf693de8876f6b 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 67907ed84569729f5b95d1ea265a5de402fdf012 from master
2016-02-02 11:42:46 -05:00
Tim Graham
194bf8ca62 [1.9.x] Refs #26089 -- Removed obsolete docs about custom user model testing.
Backport of 1e9150443e5696d764ed81c97b53ef0365a5d854 from master
2016-02-02 08:55:06 -05:00
Ramon Moraes
a121ac35b5 [1.9.x] Updated xhtml2pdf name/URL in docs.
Backport of 3b759661a873f406a0d9b97fb58c417d0111d11f from master
2016-02-02 07:37:06 -05:00
KimberleyLawrence
7aeb3cd779 [1.9.x] Clarified "same as above" tutorial comment.
Backport of ca4afc77db2dbd296c06b66ae85481ca29df30c5 from master
2016-02-01 16:38:30 -05:00
Buddy Lindsey, Jr
3a063b0dcc [1.9.x] Fixed #26155 -- Skipped URL checks if no ROOTURL_CONF setting.
Backport of 731bdfe68ae8dd332702b1838db44f0efe433e2e from master
2016-02-01 14:00:08 -05:00
Harry
fe41a134bc [1.9.x] Fixed #26152 -- Documented how to avoid django.setup() deadlock in standalone scripts.
Backport of 0fb1185538aeec9004fb9c84d96b81dc2778f66a from master
2016-02-01 13:41:31 -05:00
Tim Graham
34fae0a4f7 [1.9.x] Added CVE-2016-2048 to the security archive.
Backport of ecd502cfdb57706dd0e84d9928934bcae6b1ef25 from master
2016-02-01 12:43:02 -05:00
Tim Graham
cc36944935 [1.9.x] Added stub release notes for 1.9.3.
Backport of 59654d5efe94ea7a01102f6208e33dcc259d65fb from master
2016-02-01 12:39:50 -05:00
Tim Graham
ddb0877cbf [1.9.x] Post-release version bump. 2016-02-01 12:27:47 -05:00
Tim Graham
c003359977 [1.9.x] Bumped version for 1.9.2 release. 1.9.2 2016-02-01 12:05:08 -05:00
Tim Graham
715cc35467 [1.9.x] Added release dates for 1.9.2 and 1.8.9. 2016-02-01 12:05:08 -05:00
Myk Willis
adbca5e4db [1.9.x] Fixed incorrect permissions check for admin's "Save as new".
This is a security fix.
2016-02-01 12:05:08 -05:00
Tim Graham
a9fbf0735a [1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.
Backport of a6ef025dfb2a1d1bd23893408eef6d066fb506d9 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 e519aab43a419589e92fe284e4ce2f2e034aec6a 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 8ce8beb3f24042ed0c3da00ef3d23c25036021ed 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 9644e2e968b896f5400feb33d8d9bbdf5eea1e2d from master
2016-01-30 12:32:58 -05:00
Tim Graham
5879bd090c [1.9.x] Added a missing session setting in docs.
Backport of 9a5c94588e20e51c0c1b3fd50a2ca2716876b195 from master
2016-01-29 15:09:07 -05:00
Tim Graham
5ead386a20 [1.9.x] Made formatting of docs for settings defaults more consistent.
Backport of 2436b83dfd8ebccd71ce57c21c0a885f5ace81d4 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 93897a6a75754c1c17d8a60dee188c86f13de232 from master
2016-01-29 08:54:46 -05:00
Tim Graham
01db3249e5 [1.9.x] Fixed #26129 -- Made invalid forms display initial values of disabled fields.
Backport of 04564eb74d2d92eaf88b22ab8cec7ef45978111e from master
2016-01-29 08:08:04 -05:00
Tim Graham
efd8554815 [1.9.x] Fixed #20415 -- Ensured srid isn't localized in OpenLayers JavaScript.
Backport of 19d1cb14519186902d7e27813bf2643fe3f7cfa3 from master
2016-01-28 18:02:10 -05:00
Tim Graham
61452616ba [1.9.x] Fixed #26147 -- Relaxed expected values in GIS tests to account for database/library differences.
Backport of 5aa53286758fbb1fb864a5efda38718a2ca96759 from master
2016-01-28 14:38:27 -05:00
Tim Graham
6103b49900 [1.9.x] Fixed #25917 -- Clarified reversibility of RemoveField.
Thanks kaifeldhoff for the draft patch.

Backport of 55481bcdeef43ef5e345f8ea3bae87f4a8ec7bb8 from master
2016-01-28 12:50:02 -05:00
Yoong Kang Lim
ca6830c49f [1.9.x] Added a missing test method in tests/migrations/test_writer.py.
Backport of 5453aa66cfdf228f40dc1997d811ca986de405a3 from master
2016-01-28 10:38:57 -05:00
Claude Paroz
ca6ab72bb7 [1.9.x] Fixed #26138 -- Ensured geometry_field's geometry is always serialized
Thanks Bernd Schlapsi for the report.
Backport of 54236a2c1c from master.
2016-01-28 08:52:28 +01:00
Yoong Kang Lim
e47f0c1247 [1.9.x] Fixed #26136 -- Removed URL reversing by dotted path from JavaScript catalog example.
Backport of 31817dd2eb69db54eb559716aae42fe55ada5fea from master
2016-01-27 09:05:58 -05:00
Tim Graham
204d31cd60 [1.9.x] Refs #26142 -- Documented that Formset's extra=0 doesn't prevent creating objects.
Backport of 8e6a08e937272f088902cdbec65a9f2e919783bf from master
2016-01-27 08:57:17 -05:00
Ben Kraft
dee5896b55 [1.9.x] Fixed #26122 -- Fixed copying a LazyObject
Shallow copying of `django.utils.functional.LazyObject` or its subclasses has
been broken in a couple of different ways in the past, most recently due to
35355a4.

Backport of 13023ba86746980aace2341ba32a9419e7567751 from master
2016-01-26 06:57:27 -05:00
Preston Timmons
218cc71073 [1.9.x] Fixed #25848 -- Set template origin on each node.
Prior to 55f12f8709, the template origin was available on each node via
`self.token.source[0]`. This behavior was removed when debug handling was
simplified, but 3rd-party debugging tools still depend on its presence.
This updates the Parser to set origin on individual nodes. This enables the
source template to be determined even when template extending or including is
used.

Backport of cfda1fa3f8d95f0f4a369da9021dbd770e5fa44a from master
2016-01-26 06:23:51 -05:00
Simon Charette
645fddcd4e [1.9.x] Refs #24919 -- Used the documented way of disabling migrations per app.
Backport of 477274acb46b2f07666e9f84dea2e65ea6b63ad3 from master
2016-01-25 22:02:51 -05:00
Simon Charette
abdbf00815 [1.9.x] Fixed #26135 -- Adjusted the migration questioner's handling of disabled apps.
This was causing an issue when calling the `migrate` command in a test case with
the `available_apps` attribute pointing to an application with migrations
disabled using the `MIGRATION_MODULES` setting.

Thanks to Tim Graham for the review.

Refs #24919

Backport of 4dcaa5871b70859952c6f9c437dfe1b5f10509f2 from master
2016-01-25 22:02:45 -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 abc0777b63057e2ff97eee2ff184356051e14c47 from master
2016-01-25 12:44:14 -05:00
Tim Graham
20b217b0b0 [1.9.x] Fixed Sphinx highlight warnings in docs.
Backport of 9c43d8252a926f72be5a279186b42848501819b8 from master
2016-01-25 12:04:55 -05:00
Tim Graham
4aec49d015 [1.9.x] Refs #26034 -- Added another case fixed by this ticket to release notes.
Thanks Shai Berger for the report.

Backport of 497b5d6feee5b7947231bd0ae6edf833773b6cce and
5e8685c1b14e94e3f540ac1d68b61e71dcc27517 from master
2016-01-25 08:36:56 -05:00
Tim Graham
41e059de7c [1.9.x] Fixed #26132 -- Discouraged use of TransactionTestCase.fixtures.
Backport of b0b45f9a8373f47e96ef6c22d254c984d3b6b3c0 from master
2016-01-25 06:52:44 -05:00
Tim Graham
5e44348ad7 [1.9.x] Added Django version trove classifier to reusable apps tutorial.
Backport of 2d36c7d515312e7a476041c96a29727ed47eb517 from master
2016-01-24 08:37:34 -05:00
Tim Graham
2ef1367426 [1.9.x] Updated Python trove classifiers in reusable apps tutorial.
Backport of 145e9ca301e6bde965baa88a2e96a1ea0f7d523a from master
2016-01-23 17:41:21 -05:00
Mingun Pak
74db1378d5 [1.9.x] Fixed typos in test comments.
Backport of 4c912d184d5ba2ae7355fd8dacb70a0366b8f23b from master
2016-01-23 12:46:14 -05:00
seungkwon
3ab0439b69 [1.9.x] Fixed typo in django/db/backends/sqlite3/operations.py.
Backport of 5925e20c377a0524ef2cc7d11a16f34a67c9398d from master
2016-01-23 07:06:33 -05:00
Tim Graham
1aee5e8582 [1.9.x] Fixed #26116 -- Corrected schema's test_alter_implicit_id_to_explicit.
AUTOINCREMENT is dropped converting an AutoField to IntegerField
which isn't the point of this test. MySQL would warn or error about
this.

Backport of b49cc8664306f8b44e9e12ebb9e43791d508ec74 from master
2016-01-22 13:08:46 -05:00
Elif T. Kus
5dceb1f078 [1.9.x] Fixed #26020 -- Normalized header stylings in docs.
Backport of bca9faae95db2a92e540fbd08505c134639916fe 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 79d0a4fdb0d13ba6a843dace2b90ab44e856bd85 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 77974a684a2e874bccd8bd9e0939ddcb367a8ed2 from master
2016-01-21 14:00:06 -05:00
Alexander Gaevsky
be3169d6ed [1.9.x] Fixed #26060 -- Fixed crash with reverse OneToOneField in ModelAdmin.readonly_fields.
Backport of 9a33d3d76497d9e198de942ee1236c452231262f from master
2016-01-21 13:22:02 -05:00
Tim Graham
c9d1d5593b [1.9.x] Refs #26092 -- Added @skipUnlessDBFeature to a test.
Backport of fb4272f0e6bbdaa3e19ed5fde59fdb5ab5a33baf from master
2016-01-21 08:07:09 -05:00
Aymeric Augustin
cfe4ba6e90 [1.9.x] Fixed #26063 -- Crash when passing > 2000 params.
If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time
to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does
by setting the former to 250000, Django raised an exception on queries
containing more than 2000 parameters when DEBUG = True.

Backport of f91b5a7e4b from master
2016-01-21 10:48:47 +01:00