Commit Graph

782 Commits

Author SHA1 Message Date
Simon Charette 2fd16232b1 [1.6.x] Fixed #23754 -- Always allowed reference to the primary key in the admin
This change allows dynamically created inlines "Add related" button to work
correcly as long as their associated foreign key is pointing to the primary
key of the related model.

Thanks to amorce for the report, Julien Phalip for the initial patch,
and Collin Anderson for the review.

Backport of f9c4e14aec from master
2014-11-25 13:48:50 -05:00
Luke Plant 3c317064d8 [1.6.x] Further fixes to the migration notes for get_query_set
This rename is very tricky for the case of subclasses which define
get_query_set and haven't been updated yet, which applies to all projects in
the form of RelatedManager from Django 1.5.

Backport of 0c623da664 from master
2014-11-24 15:36:46 +00:00
Luke Plant 1fa2e7aba1 [1.6.x] Better migration docs for get_query_set -> get_queryset
This way they won't need to fix things again when get_query_set disappears

Backport of 91e2780dfb from master
2014-11-24 10:13:17 +00:00
aruseni bcdfa0eb9a [1.6.x] Fixed a typo in 1.6 release notes.
Backport of 006451f894 from master
2014-11-10 15:39:09 +01:00
Tim Graham df47f0c918 [1.6.x] Fixed #23785 -- Typo in docs/releases/1.6.txt
Backport of 091f5b5a4e from master
2014-11-09 22:12:21 +01:00
Tim Graham 61f20b42cd [1.6.x] Updated six to 1.8.0.
Backport of 81477c91f6 from master
2014-11-04 21:25:08 -05:00
Tim Graham 66be18ea58 [1.6.x] Added release dates to release notes.
Backport of 9dc782b631 from master
2014-10-22 12:24:30 -04:00
Emmanuelle Delescolle c5c4bfa12a [1.6.x] Fixed #23604 -- Allowed related m2m fields to be references in the admin.
Thanks Simon Charette for review.

Backport of a24cf21722 from master
2014-10-06 08:50:48 -04:00
Luke Plant e71ef9b6f2 [1.6.x] Documented how to rename get_query_set if you are a library author
Backport of ca139bbfdf from master
2014-10-02 11:35:59 +01:00
Tim Graham 452587aba8 [1.6.x] Forwardported 1.4.16 release notes.
Backport of 0ae79014c0 from master
2014-09-13 09:23:46 -04:00
Simon Charette a7af6ad96a [1.6.x] Fixed #23431 -- Allowed inline and hidden references to admin fields.
This fixes a regression introduced by the 53ff096982 security fix.

Thanks to @a1tus for the report and Tim for the review.

refs #23329.

Backport of 342ccbd from master
2014-09-08 14:05:26 -04:00
Tim Graham f7c7ab0e89 [1.6.x] Added dates to release notes.
Backport of 0fd23545db from master
2014-09-02 21:35:07 -04:00
Akis Kesoglou b877697472 [1.6.x] Fixed #23370 -- defer() + select_related() crashed with inherited models.
Backport of 6613ea6e3f from master
2014-08-30 07:16:47 -04:00
Simon Charette 996ac768e3 [1.6.x] Fixed #23375 -- Added missing security issues to the archive.
Backport of c9c0be3 from master
2014-08-28 11:08:11 -04:00
Simon Charette e3453b61c6 [1.6.x] Fixed #23329 -- Allowed inherited and m2m fields to be referenced in the admin.
Thanks to Trac alias Markush2010 and ross for the detailed reports.

Backport of 3cbb759 from master
2014-08-27 21:50:29 -04:00
Tim Graham 66638a09c5 [1.6.x] Added dates to release notes.
Backport of b902be798e from master
2014-08-20 16:32:51 -04:00
Simon Charette f7c494f250 [1.6.x] Prevented data leakage in contrib.admin via query string manipulation.
This is a security fix. Disclosure following shortly.
2014-08-20 11:43:43 -04:00
Preston Holmes 0268b855f9 [1.6.x] Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USE change.
This is a security fix. Disclosure following shortly.
2014-08-20 11:43:43 -04:00
Tim Graham dd0c3f4ee1 [1.6.x] Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
This is a security fix. Disclosure following shortly.
2014-08-20 11:43:43 -04:00
Florian Apolloner da051da8df [1.6.x] Prevented reverse() from generating URLs pointing to other hosts.
This is a security fix. Disclosure following shortly.
2014-08-20 11:43:43 -04:00
Tim Graham 52b878d805 [1.6.x] Added release note stubs for 1.5.9 and 1.4.14. 2014-08-20 11:43:43 -04:00
Tim Graham 48368d421c [1.6.x] Added sphinx extension to ease generation of ticket links.
Backport of fca677fa43 from master
2014-08-19 17:47:21 -04:00
Claude Paroz 9f9fdc4b0a [1.6.x] Fixed #22996 -- Prevented crash with unencoded query string
Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham
for the reviews.
Backport of fa02120d36 from master.
2014-08-19 22:55:35 +02:00
Claude Paroz f5e8376288 [1.6.x] Fixed multi geometries editing in OpenLayers widget
Backport of 457c16d0d from master.
2014-08-15 10:10:35 +02:00
Claude Paroz 99b5567796 [1.6.x] Fixed #23265 -- Used system-specific encoding in runserver
Thanks SpaceFox for the report.
Backport of 055d95fce0 from master.
2014-08-14 12:11:42 +02:00
Tim Graham 0dfc37669d [1.6.x] Updated MySQL links to version 5.6.
Backport of fb4f3e04b1 from master
2014-08-02 10:27:34 -04:00
Tim Graham e4b2bea743 [1.6.x] Fixed #19107 -- Restored bug fix for sending unicode email with Python 2.6.5 and below. 2014-07-30 09:29:08 -04:00
Shai Berger 838b7f8220 [1.6.x] Fixed #20292: Pass datetime objects (not formatted dates) as params to Oracle
This seems worthwhile in its own right, but also works around an Oracle
bug (in versions 10 -- 11.1) where the use of Unicode would reset the
date/time formats, causing ORA-01843 errors.

Thanks Trac users CarstenF for the report, jtiai for the initial patch,
and everyone who contributed to the discussion on the ticket.

Backport of 6983201 from master.
2014-07-29 07:00:26 -04:00
David Hoffman 2630cafc86 [1.6.x] Fixed #23097 -- Switched to new octal format in docs
Backport of e1c85167a3 from master.
2014-07-26 11:24:04 +02:00
Aymeric Augustin 83098dccdf [1.6.x] Fixed #23089 -- Fixed transaction handling in two management commands.
Previously, when createcachetable and flush operated on non-default
databases, they weren't atomic.

Also avoided transactional DDL and transactional truncates on databases
that don't support them (refs #22308).

Backport of 753a22a635, 0757e0f30d, and 6877a9d415 from master
2014-07-24 19:27:15 -04:00
Tim Graham ca44366b15 [1.6.x] Added 1.6.6 release notes for #22998. 2014-07-16 13:36:19 -04:00
Ramiro Morales 609153d2bf [1.6.x] Added release note for issue 13794 fix. 2014-07-14 22:45:41 -03:00
Tim Graham 85f9745807 [1.6.x] Fixed #22966 -- Clarified which release notes appear for each doc version.
Thanks haimunt at yahoo.com for the suggestion.

Backport of e6b3d6c22f from master
2014-07-07 15:31:47 -04:00
Claude Paroz 9207442fe2 [1.6.x] raw() was still defined on Manager in Django 1.6 2014-07-02 18:29:16 +02:00
Vlastimil Zíma ef3ae3d1c9 [1.6.x] Fixed #22514 -- Prevented indexes on virtual fields [postgres].
Backport of 78c32f1caa from master
2014-06-20 19:01:49 -04:00
Tim Graham 3252e0654e [1.6.x] Improved deprecation plan links in release notes.
Backport of 7ff326928a from master
2014-05-29 18:59:22 -04:00
Tim Graham ee075c4484 [1.6.x] Added stub release notes for 1.6.6.
Backport of 79e9da3d1e from master
2014-05-16 18:19:49 -04:00
Tim Graham d41a001011 [1.6.x] Minor edits to latest release notes.
Backport of 860d31ac7a from master
2014-05-15 07:17:02 -04:00
Jacob Kaplan-Moss b053eb929b Added release notes for 1.4.13, 1.5.8, 1.6.5. 2014-05-14 18:36:44 +02:00
Tim Graham e05a6222cd [1.6.x] Removed an unnecessary anchor in the docs.
Backport of a06808d370 from master
2014-05-13 20:55:05 -04:00
Tim Graham b718e292ac [1.6.x] Added 1.6.5 release note for refs #22508.
Backport of 13087020a9 from master
2014-05-12 12:44:48 -04:00
Ramiro Morales 8ebf38b7a4 [1.6.x] Fix typo in release notes. 2014-05-10 23:22:51 -03:00
Anssi Kääriäinen 0e37049636 [1.6.x] Fixed #22429 -- Incorrect SQL when using ~Q and F
Backpatch of 5e1f4656b9 from master.

Conflicts:
	django/db/models/sql/query.py
	tests/queries/models.py
	tests/queries/tests.py
2014-05-05 13:27:54 +03:00
Claude Paroz 034866204b [1.6.x] Fixed #22565 -- Prevented pgettext_lazy crash with bytestring input
Thanks ygbo for the report.
Backport of 142c27218 from master.
2014-05-02 19:38:46 +02:00
Claude Paroz 120a981207 [1.6.x] Fixed #22551 -- Made oracle backend method Python 3 compatible
Thanks fatal10110 at gmail.com for the report. The fix is 1.6-only
because that code has been refactored in 1.7 (6983201cfb).
2014-05-01 18:15:00 +02:00
Tim Graham 2997a20072 [1.6.x] Added stub release notes for 1.6.5.
Backport of 650065f0ef from master
2014-04-28 20:38:34 -04:00
Tim Graham 6574e6c183 [1.6.x] Added dates to release notes of today's release.
Backport of 68d264059a from master
2014-04-28 19:07:07 -04:00
Tim Graham d16948bd19 [1.6.x] Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin.
Thanks ross at servercode.co.uk for the report.

Backport of 9e7f86b890 from master
2014-04-25 08:36:28 -04:00
Tim Graham 6915220ff9 [1.6.x] Fixed #22486 -- Restored the ability to reverse views created using functools.partial.
Regression in 8b93b31487.

Thanks rcoup for the report.

Backport of 3c06b2f2a3 from master
2014-04-23 08:56:13 -04:00
Marti Raudsepp c5306d4af1 [1.6.x] Various documentation typo/spelling fixes
Errors detected by Topy (https://github.com/intgr/topy), all changes
verified by hand.

Backport of 11d453bcad from master
2014-04-22 20:13:43 -04:00