1
0
mirror of https://github.com/django/django.git synced 2025-01-18 22:33:44 +00:00

20276 Commits

Author SHA1 Message Date
Claude Paroz
cdf7f90f95 [1.8.x] Fixed #24791 -- Added fallback when 'postgres' database isn't available
Thanks Carl Meyer and Tim Graham for the reviews.
Backport of 322605035 from master.
2015-05-15 18:46:05 +02:00
Bo Lopker
3c659856eb [1.8.x] Fixed #24799 -- Fixed session cookie deletion when using SESSION_COOKIE_DOMAIN
Backport of 2dee853ed4def42b7ef1b3b472b395055543cc00 from master
2015-05-15 11:24:18 -04:00
Claude Paroz
6a0d9f068f [1.8.x] Fixed #24757 -- Recreated MySQL index when needed during combined index removal
Thanks Thomas Recouvreux for the report and Tim Graham for the tests and
review.
Backport of ae635cc36 from master.
2015-05-15 17:08:49 +02:00
Tim Graham
30e5703844 [1.8.x] Fixed #24802 -- Delayed GDAL check for OSMGeoAdmin
Backport of a37dcfd0a38cff24eb4fb5e3858791aa5428c853 from master
2015-05-15 09:20:04 -04:00
I am Clinton
f19932591b [1.8.x] Minor edits to docs/topics/http/urls.txt
Backport of dce004ab72e26103a86e98994de7f2cef9321f9b from master
2015-05-14 19:32:27 -04:00
Tim Graham
df0674eabb [1.8.x] Fixed #24751 -- Fixed HStoreField isnull lookup.
Backport of 3c8fe5dddf34533a419d2deed5208a28de32cb4a from master
2015-05-13 10:34:15 -04:00
Tim Graham
7ea6477b3a [1.8.x] Refs #24743 -- Clarified migrations performance note in 1.8.1 release notes.
Backport of 81d4ce4a6d21f0e65cabb253927770b3616cb560 from master
2015-05-13 10:16:49 -04:00
Piotr Jakimiak
6483f133bc [1.8.x] Fixed broken link in settings docs
Backport of ca51c559154fe11008c6b59d908e1c957c30cac6 from master
2015-05-13 07:02:27 -04:00
Charles Dee Rice
e4fa298e30 [1.8.x] Fixed #24789 -- Fixed wrong positional args order in doc example
Arguments shown in example code (signal, sender, instance) appeared to
be the incorrect positional arguments for a post_save signal (which
might start as: sender, instance, created), as documented:
​https://docs.djangoproject.com/en/1.8/ref/signals/#post-save

Backport of 4f3c44424187de20d7f75fdde6624b9f683a9cf2 from master.
2015-05-13 10:27:18 +02:00
Abhaya Agarwal
290c9d6654 [1.8.x] Fixed #24698, #24712 -- Added ForeignKey.get_db_prep_value()
Fixed crashes with ForeignKey to UUIDField and inheritance with UUIDField
primary keys.
2015-05-12 19:37:37 -04:00
I am Clinton
3ad1074cf9 [1.8.x] Light edits to docs/topics/forms/index.txt
Backport of ec74dba2ab3f04fb828c0b926b49f63ec8486dd8 from master
2015-05-12 09:17:14 -04:00
Anssi Kääriäinen
d5ce2dd7bc [1.8.x] Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries
When the query's model had a self-referential foreign key, the
compiler.get_group_by() code incorrectly used the self-referential
foreign key's column (for example parent_id) as GROUP BY clause
when it should have used the model's primary key column (id).

Backport of adc57632bc26cc8fe42bdb6aff463f883214980a from master
2015-05-11 11:52:14 -04:00
Anssi Kääriäinen
056a91dbfa [1.8.x] Fixed #24766 -- Added join promotion for Case expressions
Backport of be9d645346a20a6c394bf70d47b1b1d5c81ff530 from master
2015-05-11 11:17:37 -04:00
Tim Graham
d3a8f36fdb [1.8.x] Fixed #24780 -- Removed outdated discussion of signals and custom users.
Backport of 8e86d9d3dfd68bebbfd1dd5006e0c25696855269 from master
2015-05-11 09:10:44 -04:00
Ian Foote
e7b703d050 [1.8.x] Fixed typo in docs/topics/testing/tools.txt
Backport of c21b832c1260c6ad4bd8527338a65f6d8930feaf from master
2015-05-09 18:06:38 -04:00
Tim Graham
6a7b27c743 [1.8.x] Fixed #24758 -- Corrected Options.get_fields() docstring.
Backport of b99114f67f0e5eba3b1d31641906b75a14fd2fa0 from master
2015-05-08 13:19:32 -04:00
David Krisch
51ebc8805e [1.8.x] Fixed #24763 -- Moved DoesNotExist exception to model docs.
Backport of 1a62f197078eae72eba85f23aabacc06ad4c7d79 from master
2015-05-08 13:13:45 -04:00
Ian Foote
eb534f6412 [1.8.x] Fixed typo in docs/ref/models/expressions.txt
Backport of 756a7272529bb014b9543f4a169e9c8abd2a0a4b from master
2015-05-07 20:15:47 -04:00
Michael Blatherwick
9116a3c591 [1.8.x] Fixed typo in 1.8 release notes.
Backport of 3baebf52aa0850de3ebadcbe1eda7e6e9a2c6c44 from master
2015-05-07 08:53:24 -04:00
Tim Graham
39ed6d960e [1.8.x] Fixed #24750 -- Updated two contrib.gis comment links
Backport of 783572abc4cbbdf3272801d5d19ff8d7d5f2189d from master
2015-05-06 12:08:33 -04:00
Sławomir Ehlert
178b8fbdcd [1.8.x] Fixed typos in docs/ref/contrib/gis/geoquerysets.txt
Backport of 64ed8cdc9f2f7333b2a9fd6b318f520278c39293 from master
2015-05-06 09:59:10 -04:00
Anssi Kääriäinen
5b5858575c [1.8.x] Fixed #24752 -- query crash when reusing Case expressions
Case expressions weren't copied deep enough (self.cases list was
reused resulting in an error).

Backport of 7b05d2fdaed582662d8f79130932f600f4f966a0 from master
2015-05-05 11:38:48 -04:00
Abhaya Agarwal
eb00b427fc [1.8.x] Fixed #24736 -- Documented the Sitemap.limit attribute
Backport of 9096e2b5f75abf8e8882937bd3c3d47ccdc24e25 from master
2015-05-05 09:22:54 -04:00
Milan Broum
0d6b7e4a88 [1.8.x] Allowed using the sqlite3 backend as much as possible without _sqlite3.
The inner import was dropped during the reorganizing of the database
backends in commit 28308078f397d1de36fd0da417ac7da2544ba12d.

Backport of 95058606c89ba2dc95205487fa837ec39cf41ed5 from master
2015-05-04 13:00:23 -04:00
Tim Graham
efb9860432 [1.8.x] Used a simpler word that doesn't fail the spelling checker.
Backport of 17b1f7886c276086bbb471c0d5c3b510319f8bbb from master
2015-05-04 10:55:57 -04:00
Aymeric Augustin
4c880428d9 [1.8.x] Added release notes for previous commit.
Backport of 81f7651 from master
2015-05-04 07:42:50 +02:00
Aymeric Augustin
1f0a6082ec [1.8.x] Fixed #24685 -- Fixed check for template name unicity.
Thanks Preston Timmons for the report.

Backport of 1563b89 from master
2015-05-04 07:39:28 +02:00
José Padilla
0c79932881 [1.8.x] Fixed typo in translation import statement
Backport of b0bd1f0e19857ed8c085f4621c5b7fcfde5ec040 from master
2015-05-02 20:21:36 +02:00
Tim Graham
f0f8116a5f [1.8.x] Added stub release notes for 1.8.2.
Backport of 3cb386b8c2b2d7d72a3778c89d5d1f997fa0cad8 from master
2015-05-01 16:52:46 -04:00
Tim Graham
47374103de [1.8.x] Post-release version bump. 2015-05-01 16:46:49 -04:00
Tim Graham
3d128dcadd [1.8.x] Bumped version for 1.8.1 release. 1.8.1 2015-05-01 16:26:55 -04:00
Tim Graham
cc9eeceee2 [1.8.x] Added dates to release notes.
Backport of 06aaed41a4a9b8da8aca5854a45e457c0b72210e from master
2015-05-01 16:25:06 -04:00
Tim Graham
d7ea279f76 [1.8.x] Fixed #24724 -- Fixed GIS initialization crash on Windows.
Backport of 3c4fca271bd6850d252c4b637871e597484804d1 from master
2015-05-01 16:18:53 -04:00
Tim Graham
77ed1548f2 [1.8.x] Fixed #24676 -- Fixed help text positioning in `contrib.admin` filter_* widgets.
Backport of 2c3ce26beb254101f12fa69cc341ba9aeae62029 from master
2015-05-01 15:32:45 -04:00
Dave Hodder
53031cce42 [1.8.x] Updated capitalization in the word "JavaScript" for consistency
Backport of 08c980d752bc7f31f146facadfec3d284c4115c6 from master
2015-05-01 13:27:40 -04:00
daphshez
c45fd57f68 [1.8.x] Fixed #23271 -- Fixed makemessages crash/test failure for some locales.
Backport of 57202a112a966593857725071ecd652a87c157fb from master
2015-05-01 10:30:19 -04:00
Aric Coady
6b05d3a2e3 [1.8.x] Fixed #24729 -- Removed test db flush when using --keepdb. 2015-04-30 09:50:46 -04:00
Claude Paroz
cb370f8510 [1.8.x] Updated translations from Transifex
Updates for languages: Indonesian, Belarusian, Persian, and Dutch.
2015-04-30 14:27:51 +02:00
Tim Graham
556b1c8ad3 [1.8.x] Fixed model_regress test failure on non-ASCII path; refs #24717.
Backport of 29e90f3ae0b0b72bbdf342e0136414bff917c6a6 from master
2015-04-30 08:13:30 -04:00
Markus Holtermann
bf4dc5733f [1.8.x] Fixed #24725 -- Allowed renaming of target models in ManyToMany relations
This is a regression caused by introducing rendered migration states in
1aa3e09c2043 and the _meta refactoring in fb48eb05816b.

Thanks to Danilo Bargen for reporting the issue and Marten Kenbeek and
Tim Graham for triaging the bug and providing the initial test case.

Backport of 63f9b633f9cb620a4c4764b47dca127706a8d7b4 from master
2015-04-30 13:46:24 +02:00
Dmitry Medvinsky
49dea4164a [1.8.x] Added translation.override() context manager to docs.
Backport of cf34ee68f0d70cfbcba40524b5d1086ad94874e1 from master
2015-04-29 21:23:22 -04:00
Tim Graham
afae8ff916 [1.8.x] Fixed #24665 -- Clarified model field flag defaults.
Backport of 2b086229a2a6c786e32da37b6b122c2cc894450f from master
2015-04-29 20:41:07 -04:00
David D. Riddle
8c58caaf9d [1.8.x] Fixed #24717 -- Fixed model_regress test failure on RHEL6 SCL
The test failed on RHEL6 systems running python 2.7 from a RedHat
Software Collection (SCL) because this test runs an external python
script with a stripped system environment. RedHat SCLs work by setting
a number of system environment variables when these are stripped out by
this test the python 2.7 interpreter is no longer able to function
properly because it can not find the system libraries needed.

Now we use use mock to modify the system environment directly.

Backport of 31e6c9c8e310e68a96c1f76b9657242c6cecaa4d from master
2015-04-29 12:28:39 -04:00
Baptiste Mispelon
d5fb31da17 [1.8.x] Used full variable names instead of abbreviation in examples
Thanks to Andrew Ingram for the report.
Backport of 683ece0ec8d12d5e4f8656759ad87ace5792e2d1 from master.
2015-04-29 17:24:03 +02:00
Mounir
ec23572f12 [1.8.x] Fixed typo in docs/topics/i18n/translation.txt
Backport of 25b52d04f6eace3b702adf7c6ab68daf1867c7e3 from master
2015-04-28 12:53:38 -04:00
Aric Coady
b67bd1b483 [1.8.x] Fixed #24719 -- Restored the ability to use interators as queryset related object filters.
Backport of 9c2d8cde77ee6edd407e92f93eacd4624290394f from master
2015-04-28 11:00:58 -04:00
Alasdair Nicol
c37eb3c870 [1.8.x] Fixed #24714 -- Used more specific assertions than assertEqual in tests.
Backport of eaeea6f94701547ce1b50dbcf5cf71460e9e4c91 from master
2015-04-28 09:31:35 -04:00
Alasdair Nicol
5105c1628d [1.8.x] Used assertIsInstance in tests.
Backport of d91321e8be0d8e52546026d461b14157d565870c from master
2015-04-27 08:42:52 -04:00
Tim Graham
8fa763a983 [1.8.x] Fixed #24704 -- Clarified system check interaction with runserver.
Backport of 0f2e82b9ec9797147945a6f9a402b5ae0fb1d9f4 from master
2015-04-25 15:06:45 -04:00
Markus Holtermann
419f296259 [1.8.x] Fixed #24701 -- Converted model manager names to unicode in migrations
Thanks to Reto Aebersold for reporting the issue and Tim Graham and
Claude Paroz for the review.

Backport of faad6070ee2eeea270c76381f9ca5999bf1ac15f from master
2015-04-25 18:18:40 +02:00