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
Adam Zapletal
fc342bff94
[1.8.x] Fixed a typo and formatting consistency in testing tools docs
...
I changed "appears" to "appear" and emphasized the word "not" to match
the rest of the document.
Backport of 0cf7477ed839517e203e4b5aad414707cb401d30 from master
2015-04-25 12:24:54 +02:00
Nik Nyby
9e647ce86f
[1.8.x] Added missing comma in LocMemCache example.
...
Backport of 9d6914da668d9a38537d4c29e3601f06dd830477 from master
2015-04-24 20:29:25 -04:00
Marcus Pennington
2a334d7985
[1.8.x] Fixed #24700 -- Added dash to slug regex in http docs
...
Backport of 269a5dbdd37362e27b2bb3bf3a600ffd5ea2c3bb from master
2015-04-24 13:10:51 -04:00
Nicolas Noé
61e902c4c4
[1.8.x] Fixed #24656 -- Added missing imports to query expressions doc.
...
Backport of 37682368a604e08f3135375c85529e566492a352 from master
2015-04-24 10:55:35 -04:00
Daniel Harding
911e09833b
[1.8.x] Updated startproject MIDDLEWARE_CLASSES in docs.
...
Backport of ad31bc0565914c4676bfb7c116c4be407a367be4 from master
2015-04-24 09:34:19 -04:00
Alasdair Nicol
415a65fc0c
[1.8.x] Fixed #24695 -- Tidied up a couple of regexes in the CBV docs
...
Thanks datakid for the report
Backport of b9e972b96171236c40a8a922c62d36b49854ee52 from master
2015-04-24 09:23:59 -04:00
Tim Graham
fa49b99e31
[1.8.x] Documented INSTALLED_APPS requirement for HStoreField.
...
Backport of 618bc4e65316681314522f63522c419fb6f7285e from master
2015-04-24 08:27:09 -04:00
Richard Eames
fe533fc537
[1.8.x] Fixed #24613 -- Added example to QuerySet.defer() documentation
...
Backport of dd99f57710bb4930561a6c049f54719af80850ec from master
2015-04-22 19:19:17 -04:00
Tim Graham
322b9c90aa
[1.8.x] Fixed #24684 -- Typo in docs/topics/forms/modelforms.txt
...
Backport of 1418f7530455abf3e6f743164ae15ee6b2566a3c from master
2015-04-22 09:31:43 -04:00
Tim Graham
0778f4dd82
[1.8.x] Clarified "AbstractUser.last_login allows null values" in 1.8 release notes.
...
Backport of 27b92228a969941d8fc0d04a894f436c0e9120c7 from master
2015-04-22 08:48:12 -04:00
Claude Paroz
99bf9085a3
[1.8.x] Fixed #24672 -- Clarified note about installing postgis_topology
...
Thanks Serhiy Zahoriya for the suggestion and Tim Graham for the
review.
Backport of 6e8cb75e3e from master.
2015-04-21 17:57:36 +02:00
Steve Hiemstra
2329ca969f
[1.8.x] Fixed #24682 -- Corrected a few generic editing view links
...
Backport of 258d81acbee252693569e3d4e5f95d3dfe3b0638 from master
2015-04-21 10:27:10 -04:00
Markus Holtermann
0cacb8f8ba
[1.8.x] Fixed #24573 -- Considered new related models for reloading
...
Thanks tttomekkk for the report.
Backport of b93690c4652a108b4305c0df34509bfc267fd927 from master
2015-04-21 12:06:11 +02:00
Matthew Wilkes
697317f334
[1.8.x] Refs #24354 -- Prevented repointing of relations on superclasses when migrating a subclass's name change
...
The issue was hidden on 1.8+ until #24573 due to a bug inside the model
reloading process.
Forwardport of patch from ae87ad005f7b62f5fa5a29ef07443fa1bbb9baf0
2015-04-21 12:02:27 +02:00
Marten Kenbeek
516907540b
[1.8.x] Refs #24591 -- Optimized cloning of ModelState objects.
...
Changed ModelState.clone() to create a deepcopy of self.fields.
2015-04-20 19:23:15 -04:00
Tim Graham
43f800a978
[1.8.x] Fixed #24659 -- Clarified docs of smtp.EmailBackend parameters.
...
Backport of ffe83d16bd0abfa58e4448cf9d48b52cc43544e9 from master
2015-04-20 15:47:07 -04:00
Simon Charette
beb957041c
[1.8.x] Fixed #24674 -- Documented the correct NullBooleanField formfield.
...
Thanks to knbk for the report.
Backport of 37e23c606031d5b34197e196fb6e6fed0137bb37 from master
2015-04-20 15:19:57 -04:00
Anton
76f20c5307
[1.8.x] Fixed typo in docs/topics/class-based-views/intro.txt
...
Backport of f5fbddf22f5e9b760e76ef35f104270026c60693 from master
2015-04-20 14:11:51 -04:00
Tim Graham
e02616b1b0
[1.8.x] Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284 .
...
Thanks Carsten Fuchs.
Backport of e15c55e2bf5eb2f1073d18b4ee6fdce2369820f2 from master
2015-04-20 10:49:56 -04:00
Neal Todd
b39c970cfe
[1.8.x] Amended get_all_related_objects() backwards compatible replacement.
...
Backport of d84f01ff08922c70f9bb0861846c8ace0764b2dc from master
2015-04-20 09:50:31 -04:00
Yoong Kang Lim
b8f203b3f2
[1.8.x] Fixed #24667 --- Repaired model_fields cardinality test
...
Backport of 36eab95e7fde7fad4368192ddbef4e2dbb32dc91 from master
2015-04-20 09:41:38 -04:00
Marco Santamaria
1e0bf2cab9
[1.8.x] Fixed #11078 -- Removed inaccurate docs about proxy models Meta.
...
Backport of bae72bdd2aa93472617ed28fc3d5a01f0920ea6e from master
2015-04-20 09:17:28 -04:00
Claude Paroz
ff6e8681a3
[1.8.x] Fixed #24658 -- Added missing Meta attribute in schema tests
...
Without that, the Note model would be initially created and then
the tests using that model failed when run in isolation.
Backport of f54c0ec06e from master.
2015-04-19 00:08:21 +02:00
Shai Berger
8363f217f2
[1.8.x] Fixed #24595 Oracle test failure
...
The only problem for Oracle was the test, which tested nullity on
text/char fields -- but Oracle interprets_empty_strings_as_null.
Backport of d5a0acc from master
2015-04-18 18:55:54 +03:00
Tim Graham
ae47854a25
[1.8.x] Removed DateTimeQuerySet from docs.
...
Obsolete since refs #23867 .
Backport of e9fdecf98417e39a93c81a854a780550321a9795 from master
2015-04-18 10:14:38 -04:00
Tim Graham
bd0883d5cc
[1.8.x] Fixed typo in docs/releases/1.8.1.txt
2015-04-17 11:25:55 -04:00
Eric Whitmire
901de5fbce
[1.8.x] Fixed #24655 -- Fixed JavaScript path of contrib.admin's related field widget
2015-04-17 11:22:22 -04:00
Tim Graham
f21dd827b7
[1.8.x] Fixed #24657 -- Fixed include template tag example.
...
Thanks pattypatpat for the report.
Backport of f47c796b52a3c504d487c2484153fa5d90a25a74 from master
2015-04-17 07:54:56 -04:00
Claude Paroz
bbfcd9618b
[1.8.x] Fixed #24595 -- Prevented loss of null info in MySQL field alteration
...
Thanks Simon Percivall for the report, and Simon Charette and Tim
Graham for the reviews.
Backport of 02260ea3f6 from master.
2015-04-17 11:01:36 +02:00
Tim Graham
d0b18542f7
[1.8.x] Fixed gis_tests when run without GIS dependencies.
...
Backport of ed336a1a5d3991acef2208b7aaf9fbe99af48a14 from master
2015-04-16 20:01:30 -04:00
Tim Graham
9e5e4914ef
[1.8.x] Fixed #24646 -- Fixed jinja2 example on Python 2.
...
Backport of d974c89ebb8a59d91f664035d98d42dbb5cdd592 from master
2015-04-16 19:33:07 -04:00
Anssi Kääriäinen
581afddc77
[1.8.x] Fixed #24605 -- Fixed incorrect reference to alias in subquery.
...
Thanks to charettes and priidukull for investigating the issue, and to
kurevin for the report.
Backport of 355c5edd9390caad5725375abca03460805f663b from master
2015-04-16 09:31:29 -04:00
Daniel Lindsley
1e594b257e
[1.8.x] Fixed #23984 -- Added Javascript i18n documentation
...
This fleshes out the documentation around all of the exported
Javascript functions available from the ``javascript_catalog``
view.
Backport of 8ca9bc5ec326c0b01634dac264a9ba6f0857483e from master
2015-04-16 08:19:30 -04:00
Abdulrahman Alotaibi
5678e4b93a
[1.8.x] Fixed #24644 -- Added HTTP_ACCEPT to example headers list.
...
Backport of 62261ddd0f2d5f2e6bcce013f2913cdb1b1f0be0 from master
2015-04-16 07:39:33 -04:00
Tim Graham
6e5e1a380c
[1.8.x] Fixed #24645 -- Documented use of HStoreExtension.
...
Backport of d3bf5e7b0016edc02e125699c0b0d3aa93404940 from master
2015-04-16 07:25:38 -04:00
Anssi Kääriäinen
70ff455a35
[1.8.x] Fixed #24615 -- ordering by expression not part of SELECT
...
Fixed queries where an expression was used in order_by() but the
expression wasn't in the query's select clause (for example the
expression could be masked by .values() call)
Thanks to Trac alias MattBlack85 for the report.
Backport of fb5c7748da from master.
2015-04-16 09:42:42 +02:00
Jon Dufresne
c38d8f0f87
[1.8.x] Fixed model_fields tests to use django TestCase.
...
Backport of 97bb48d9ba864060d57a3137fb9c456b98ecc79b from master
2015-04-15 08:19:55 -04:00
Simon Charette
a988cc8f18
[1.8.x] Fixed typos in the 1.7.7 release notes.
...
Backport of 28e89783254ac0899a26eee324555a9033ccbe9a from master
2015-04-14 22:14:52 -04:00
Tim Graham
62012b071e
[1.8.x] Removed docs for removed transaction APIs.
...
Backport of 6b8c969878fb937c94eaf2cdc3de94554f171bdd from master
2015-04-14 13:53:18 -04:00
Markus Holtermann
c8b89964de
[1.8.x] Fixed title in 1.7.8 release notes
...
Refs 309142dba10e24557b67a2734aa67d56518c0b14
Backport of 825bb0ab08cec353edcd2b9aea651bfe9392ef97 from master
2015-04-14 19:28:03 +02:00