1
0
mirror of https://github.com/django/django.git synced 2025-01-20 15:19:20 +00:00

19782 Commits

Author SHA1 Message Date
Tim Graham
7060ef7158 [1.8.x] Reverted "Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows."
This reverts commit da79ccca1d34f427952cce4555e598a700adb8de.

This optimized the unsuccessful case at the expense of the successful one.

Backport of 293fd5da5b8c7b79bd34ef793ab45c1bb8ac69ea from master
2015-01-30 12:52:39 -05:00
Andrei Kulakov
3d3c7a62c8 [1.8.x] Updated recommendation for testing keyword arg in custom fields.
Backport of dbabf43920bfd99f0e720c7c20228c17128a2af8 from master
2015-01-30 08:30:03 -05:00
Tim Graham
df68751134 [1.8.x] Fixed #24164 -- Fixed Oracle GIS limited aggregation test failure.
Backport of 29c0073335c7f7cdc482866e093e5e42a42625e5 from master
2015-01-30 06:34:36 -05:00
Simon Charette
a301061f88 [1.8.x] Fixed #23940 -- Allowed model fields to be named exact.
An explicit `__exact` lookup in the related managers filters
was interpreted as a reference to a foreign `exact` field.

Thanks to Trac alias zhiyajun11 for the report, Josh for the investigation,
Loïc for the test name and Tim for the review.

Backport of eb4cdfbdd64a95b303eaaa40a070521aa58362fd from master
2015-01-29 14:42:28 -05:00
Matt
7b92acea70 [1.8.x] Fixed #24223 -- Prevented a session test from leaking.
Backport of 55c76f4e3bab74c8544b72d11a99e94a1c2cfbce from master
2015-01-29 14:37:33 -05:00
Tim Graham
d0c343372f [1.8.x] Removed ForeignObjectRel.get_lookup_constraint() [unused].
Backport of f60973111806100d284d41c12206c04740063549 from master
2015-01-29 14:12:35 -05:00
Reza Mohammadi
590ee3ed16 [1.8.x] Fixed Persian locale FIRST_DAY_OF_WEEK & DECIMAL/THOUSAND_SEPARATORs.
Reference: http://lh.2xlibre.net/locale/fa_IR/

Backport of f1ff9407c94c4574d100efc3d224c1f79e2fb53d from master
2015-01-29 13:02:49 -05:00
Emin Mastizada
6002393a97 [1.8.x] Updated Azerbaijani language name.
Backport of 0f3ea8c0bc9c7f7f5e448b0b2137bc6351f5eae3 from master
2015-01-28 06:48:48 -05:00
Tim Graham
df7cca6dff [1.8.x] Added stub 1.7.5 release notes.
Backport of ac6033d8835ac54c1222801f6aeb47f9997b517a from master
2015-01-28 06:39:11 -05:00
Josh Smeaton
f858b51ee3 [1.8.x] Refs #14030 -- Renamed CombinableMixin to Combinable
Removed unused method and updated docstrings.

Backport of 14d0bd67d4bcf55f8a0a2b01433571a8b714121f from master
2015-01-28 11:04:12 +11:00
Josh Smeaton
6c68e40e6e [1.8.x] Refs #14030 -- Added repr methods to all expressions
Backport of 7171bf755b0c4be85ddbcc164eaf87164c131021 from master
2015-01-28 11:03:39 +11:00
Josh Smeaton
405351ba2f [1.8.x] Refs #24060 -- Added a test demonstrating reverse order isn't mutable
Backport of f218a2ff455b5f7391dd38038994f2c5f8b0eca1 from master
2015-01-28 11:03:25 +11:00
Raul Cumplido
7cc1b4710e [1.8.x] Fixed #24209 -- Prevented crash when parsing malformed RFC 2231 headers
Thanks Tom Christie for the report and review.
Backport of ac650d02cb from master.
2015-01-27 20:16:53 +01:00
Markus Holtermann
29fa0e3c66 [1.8.x] Corrected naming of method and attribute
Backport of 335df82a3f13877220712090eb455a32eea87421 from master
2015-01-27 19:48:46 +01:00
Tim Graham
617121cd4a [1.8.x] Added 1.4.19 release notes.
Backport of 6f8418089c5e81d12718187da2140394ed30da43 from master
2015-01-27 11:48:27 -05:00
Markus Holtermann
645fe136c4 [1.8.x] Refs #24104 -- Added missing release notes
Forwardport of 3d4a826174b7a411a03be39725e60c940944a7fe from stable/1.7.x
2015-01-27 16:05:27 +01:00
Josh Smeaton
e56810e839 [1.8.x] Fixed #24154 -- Backends can now check support for expressions
Backport of 8196e4bdf498acb05e6680c81f9d7bf700f4295c from master
2015-01-27 14:47:38 +11:00
Tomáš Ehrlich
5dff3513cc [1.8.x] Fixed #24220 - Allowed lazy objects for success_url
Backport of 511be35779a98427387d9aa4abacce01dedd7272 from master
2015-01-26 12:42:08 -05:00
Tomáš Ehrlich
2d990fb7fa [1.8.x] Fixed #24221 - Used precompiled regexp for percent-placeholder matching.
Backport of ea0ea7859a224225950a4df7c23eb3a7d823ddcd from master
2015-01-26 10:49:55 -05:00
Collin Anderson
09e8985f25 [1.8.x] Fixed #24190 -- Clarified len(queryset)
Backport of ee23e03637aa8b82311f93b0a660574a0512891a from master
2015-01-24 10:18:14 -05:00
Tim Graham
242c9538c8 [1.8.x] Fixed test_runner test failure on Python 3.5; refs #23763.
Python change is http://bugs.python.org/issue22032

Backport of 0386b97706052b88cd6fbbf777698810981cfeb6 from master
2015-01-23 16:42:33 -05:00
Tim Graham
1ee18a6046 [1.8.x] Moved imports in GIS tests to avoid failure if dependencies aren't installed.
Backport of 1e219ac62f3313f5a5f8eb188240a11bedd41aa1 from master
2015-01-23 16:20:08 -05:00
Ng Zhi An
56015c01c4 [1.8.x] Fixed #24170 -- Implemented decompress for BaseRangeField widgets
Backport of 4669b6a807811d6763b9fdc5df974cb67aa1fb56 from master
2015-01-23 15:07:03 -05:00
Tim Graham
2ed1980e0f [1.8.x] Clarified docstring in dispatch/dispatcher.py
Backport of 851f5bd413a93708436a129442007448755b34f3 from master
2015-01-23 13:00:24 -05:00
Claude Paroz
bc93568500 [1.8.x] Fixed warning leak in static.serve() test
Partial forward port of b1bf8d64fb from 1.7.x. Refs #24193.
2015-01-23 09:05:46 +01:00
Tim Graham
1806e059f6 [1.8.x] Isolated a flatpages test; refs #11505.
Backport of 4135d837027eac43ec416856d9476c478167d8a6 from master
2015-01-22 15:50:26 -05:00
Andriy Sokolovskiy
11a5e45b96 [1.8.x] Fixed #24104 -- Fixed check to look on field.many_to_many instead of class instance
Backport of 38c17871bb6dafd489367f6fe8bc56199223adb8 from master
2015-01-22 18:53:47 +01:00
Loic Bistuer
0580133971 [1.8.x] Fixed small inconsistency when handling aggregate's default_alias.
Refs #14030.

Backport of d450af8a26 from master
2015-01-22 08:02:07 +07:00
Adam Taylor
45aaced91e [1.8.x] Fixed typos in code comments.
Backport of 039465a6a7a18f48ea77ceadb6949990c0ec92e1 from master
2015-01-20 12:18:29 -05:00
Simon Charette
90d9bf5ba4 [1.8.x] Fixed #24186 -- Fixed a typo in the admin docs.
Thanks to Keryn Knight for the report.

Backport of dccf41cff0f46a94aa1d853d1bad9052079bb454 from master
2015-01-20 11:56:02 -05:00
Markus Holtermann
20f1aafa14 [1.8.x] Refs #24163 -- Fixed failing Oracle test when migrating from ForeignKey to OneToOneField
Thanks Tim Graham for review

Backport of 64ecb3f07db4be5eef4d9eb7687f783ee446c82f from master
2015-01-20 17:45:29 +01:00
Tim Graham
cb90d489da [1.8.x] Fixed a query failure on Python 3.5; refs #23763.
The failure was introduced in Django by
c7fd9b242d2d63406f1de6cc3204e35aaa025233 and the change in
Python 3.5 is https://hg.python.org/cpython/rev/a3c345ba3563.

Backport of be1357e70983d4ad029a1ecdd05292f8be917a80 from master
2015-01-20 08:15:39 -05:00
Marc Tamlyn
c80b2144d2 [1.8.x] Fixes #24169 -- More arrayfield specific lookups.
varchar()[] cannot compare itself to text[]

Thanks to joelburton for the patch.

Backport of 0ae94d0d31 from master
2015-01-20 10:26:32 +00:00
Josh Smeaton
504cd5d3be [1.8.x] Fixed #24183 -- Fixed wrong comparisons in Substr
Backport of 61c102d010ef480cebe576cc1576d1101975925c from master
2015-01-20 12:11:27 +11:00
Fabio C. Barrionuevo da Luz
e69eea73d9 [1.8.x] Fixed #24177 -- Added documentation about database view support in inspectdb
Backport of bd691f4586c8ad45bd059ff9d3621cbf8afdcdce from master
2015-01-20 01:09:08 +01:00
Tim Graham
06fa019c1b [1.8.x] Fixed #24153 -- Fixed cookie test compatibility with Python 3.4.3+
Backport of b19b81b3960ec2090d40be65547502a3386a769b from master
2015-01-19 15:39:36 -05:00
Markus Holtermann
e55cb91bd4 [1.8.x] Fixed #24163 -- Removed unique constraint after index on MySQL
Thanks Łukasz Harasimowicz for the report.

Backport of 5792e6a88c1444d4ec84abe62077338ad3765b80 from master
2015-01-19 16:55:25 +01:00
Tim Graham
0b3e3e21cf [1.8.x] Added deprecation docs for legacy lookup support; refs #16187.
Backport of 8e435a564034c59ac408ec71283d8ac6ede2ce1f from master
2015-01-19 10:45:50 -05:00
Claude Paroz
6eddaa42c3 [1.8.x] Fixed header of contrib.postgres translation catalog
Backport of eb6e12ca6f from master.
2015-01-19 10:19:42 +01:00
Tim Graham
dd0707c3ca [1.8.x] Added missing items to deprecation timeline/1.7 release notes.
Backport of ecf109f2159f4581adb354263406116c2bda11d7 from master
2015-01-18 21:24:09 -05:00
Josh Smeaton
0c910823c1 [1.8.x] Fixed #24174 -- Fixed extra order by descending
Backport of 69c6a6868f0b4137bb293ff4326ecf4681506c37 from master
2015-01-19 13:18:09 +11:00
Tim Graham
511ef69194 [1.8.x] Removed a flake8 exclude that caused code to be missed.
Backport of 2fa2068406cbef08bac3e2da9b69e86c6b931f57 from master
2015-01-18 20:48:35 -05:00
Tim Graham
663db8ea2a [1.8.x] Removed usage of deprecated removetags in a template test.
Backport of b84100e8e22b175b62ce849acbcf1fa9a1e0e5b8 from master
2015-01-18 18:33:56 -05:00
Tim Graham
559e15a23a [1.8.x] Removed an obsolete comment in django/apps/config.py
Backport of bd98926f0eb19d27821a8a7679b42ff46e53e4da from master
2015-01-18 16:31:21 -05:00
Tim Graham
f31ed5c934 [1.8.x] Clarified deprecation of forms.forms.get_declared_fields(); refs #19617.
Backport of 89e9f81601f7a343690e1153e70fd56091246d0b from master
2015-01-18 16:07:44 -05:00
Claude Paroz
8c8a1a0846 [1.8.x] Added contrib.postgres translation catalog 2015-01-18 21:01:42 +01:00
Tim Graham
4af4ccfb30 [1.8.x] Clarified deprecation of test.utils.TestTemplateLoader.
Backport of 7468c948b6e7830082c939e0f43e2bd780c90527 from master
2015-01-18 14:20:15 -05:00
Tim Graham
390559a75c [1.8.x] Clarified a contrib.sites deprecation and added to 1.7 release notes.
Backport of ba27f895878bb155fefb8c1b9beee2c9f3d85b3f from master
2015-01-18 13:44:53 -05:00
Tim Graham
737cd4ff3d [1.8.x] Clarified contrib.contenttypes.generic deprecation; refs #19774. 2015-01-18 13:43:02 -05:00
Tim Graham
8822d0bf7d [1.8.x] Removed usage of deprecated dumpdata options in docs.
Backport of 1d975ff44bc23efaf0ebf3e96cc35539d80bd244 from master
2015-01-17 20:15:09 -05:00