Tim Graham
b8cd834b5d
[1.9.x] Added release date for 1.9.1/1.8.8 releases.
...
Backport of 24c1713e2ec29214838be61cc6bf13b6bf380f4f from master
2016-01-02 08:36:30 -05:00
varunnaganathan
5770c2382a
[1.9.x] Fixed #25316 -- Fixed a crash with order_by() and values() after annotate().
...
Backport of 3eba9638ee69138c73efb1d1c1d1b806ddafc6cf from master
2016-01-02 08:19:41 -05:00
Tim Graham
2f4be218e1
[1.9.x] Fixed #26016 -- Restored contrib.auth hashers compatibility with py-bcrypt.
...
Reverted "Explicitly passed rounds as rounds to bcrypt.gensalt()"
This reverts commit 23529fb19594ffcc6ba6d716356b828157200288.
Backport of f0ad641628a3ddc4e1c208e481b9cd0e9304dc3d from master
2016-01-02 06:55:29 -05:00
Anssi Kääriäinen
99569b22d9
[1.9.x] Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures.
...
Django's test suite often tries to load fixture files from apps that have
no fixtures at all. This creates a lot of unnecessary disabling and
enabling of constraints which can be expensive on some database.
To speed this up, loaddata now first checks if any fixture file matches.
If no fixture file is matched, then the command exits before disabling
and enabling of constraints is done.
The main benefit of this change is seen on MSSQL, where tests on
Django 1.8 run hours faster.
Backport of ee9f4686b19e2b4a68f5cb4f9d61dc045c1d4c63 from master
2015-12-31 09:05:20 -05:00
Chris Cogdon
8202ce45a5
[1.9.x] Fixed #26018 -- Prevented unecessary get_form() call in FormMixin.get_context_data().
...
Changed "dict.setdefault" to "if x in dict" pattern so that get_form() would not
be called unnecessarily, specifically in the case where FormMixin.form_invalid()
calls get_context_data() with the current form.
Backport of e429c5186ceed81c4627165518e0c70c58e69595 from master
2015-12-30 17:30:37 -05:00
Chris Cogdon
4d9b98616f
[1.9.x] Fixed #26006 -- Fixed incorrect object reference in SingleObjectMixin.get_context_object_name().
...
Backport of 4b2dcfe04f5d9938e40c569ffdd169f3a712145d from master
2015-12-30 09:58:05 -05:00
Alexander Gaevsky
312e488a21
[1.9.x] Fixed #25465 -- Restored line breaks conversion in admin readonly fields.
...
Backport of 69208a5a1c55d42ca0eaffa900be643d9f801089 from master
2015-12-29 19:37:29 -05:00
Tim Graham
85159b9819
[1.9.x] Refs #13008 -- Forwardported 1.8.8 release note.
...
Forwardport of b51086d57313e7ea857f4b96b62d25e600ee0a8d from stable/1.8.x
2015-12-24 11:38:39 -05:00
Tomo Otsuka
bc5eed8fb0
[1.9.x] Fixed #25972 -- Restored support for the isnull lookup with ForeignObject.
...
Backport of 8b6974a6857bdc48ad50bf21527b840c27648891 from master
2015-12-24 07:35:08 -05:00
Tim Graham
d162b0bcd8
[1.9.x] Fixed #25969 -- Replaced render_to_response() with render() in docs examples.
...
Backport of 4d83b0163e15f8352fd17fa121e929842ff2b686 from master
2015-12-23 10:50:55 -05:00
Tim Graham
36d0aa4303
[1.9.x] Fixed #25963 -- Clarified render_to_response() context_instance deprecation.
2015-12-22 13:06:22 -05:00
Tim Graham
923a4fb20a
[1.9.x] Fixed #25965 -- Added removal of sql* commands to 1.9 release notes.
...
Backport of d52b0c5b38cce633a75420a703a15f03aabd70dd from master
2015-12-22 13:00:24 -05:00
Tim Graham
c80d85d4ad
[1.9.x] Fixed #25903 -- Fixed the admin's list_editable add/change buttons.
...
Backport of f18b08748abaecb171fdcbcdfdcd7e4d95d931d1 from master
2015-12-21 09:30:39 -05:00
Tim Graham
a80fb8ae24
[1.9.x] Fixed #25922 -- Fixed migrate --fake-initial detection of many-to-many tables.
...
Backport of fa9ce4e9a691e4f8c8b093784bac752e488dc60b from master
2015-12-19 13:50:06 -05:00
Aymeric Augustin
24ebf17f04
[1.9.x] Fixed #25510 -- Allowed runserver to start with incorrect INSTALLED_APPS.
...
In that case, the content of INSTALLED_APPS will be ignored until it's
fixed and the autoreloader kicks in. I confirmed this behavior manually.
As explained on the ticket it's hard to write a test for this case.
Backport of df0a446fd4c864c003e4f941b5b7abd6f10c9427 from master
2015-12-18 19:08:28 -05:00
Claude Paroz
f0a4ff2b11
[1.9.x] Fixed #25915 -- Allowed language not in Django's default LANGUAGES
...
This fixes a regression introduced by a5f6cbce07.
Thanks Gavin Wahl for the report and Tim Graham for the review.
Backport of cd3c042b0 from master.
2015-12-18 17:51:52 +01:00
Sven Grunewaldt
badeb56f83
[1.9.x] Fixed #25845 -- Fixed incorrect timezone warnings in custom admin templates.
...
Backport of 9af40f5df13801ffadcc5ded7440e4616123959f from master
2015-12-17 14:35:40 -05:00
Claude Paroz
ff077cd649
[1.9.x] Fixed #25942 -- Fixed TypedChoiceField.has_changed with nullable field
...
This fixes a regression introduced by 871440361.
Backport of d91cc25a2a from master.
2015-12-17 15:39:34 +01:00
Simon Charette
c4c72ade6f
[1.9.x] Fixed #25852 -- Made sure AlterModelManager forces a reload of its model state.
...
Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus
for the review.
Backport of c4e372aaf467ae41315cfe56a718a80469fc5318 from master
2015-12-15 14:53:45 -05:00
Sergey Fedoseev
192d1eb5c3
[1.9.x] Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values().
...
Backport of 69b69f6d6085d80ccf36a3e999e9e5b98d580786 from master
2015-12-15 07:30:30 -05:00
Simon Charette
c402db2e2f
[1.9.x] Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL.
...
Thanks to Trac aliases gerricom for the report, raphaelmerx for the
attempts to reproduce and Sergey Fedoseev and Tim for the review.
Refs #16891
Backport of 8035cee92293f3319919c8248c7787ba43c05917 from master
2015-12-14 13:13:47 -05:00
Tim Graham
3c69d52377
[1.9.x] Fixed #25909 -- Added unicode_literals import to apps.py generated by startapp.
...
Backport of 10427646b887586bf89dacb3b5208b3ad2d17308 from master
2015-12-12 09:50:17 -05:00
Sergey Fedoseev
515f149e4d
[1.9.x] Fixed #25883 -- Fixed admin deletion page summary counts for related objects.
...
Backport of 8ab58b80529c5206654c1042a4ddcf2da364f8ec from master
2015-12-10 18:11:45 -05:00
Federico Frenguelli
722fae4b51
[1.9.x] Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField when using AlterField.
...
Thanks to Emanuele Palazzetti for the help.
Backport of 3a36c8079544c83dcdea4e52181efcd2d1e86b9c from master
2015-12-10 16:19:36 -05:00
Derek J. Curtis
364d7d9690
[1.9.x] Fixed #25900 -- Fixed regression in CommonMiddleware ETag support.
...
Backport of 6be9589eb34f79914666c9d9e1e15bdb7fc44df2 from master
2015-12-10 14:00:49 -05:00
Damien
428164fc81
[1.9.x] Refs #25099 -- Added removal of build_request_repr() to 1.9 release notes.
...
Backport of 071af825398bab08246aa28c227514ed37cf4244 from master
2015-12-10 11:46:09 -05:00
Amos Onn
f076cf07ef
[1.9.x] Fixed #25896 -- Fixed state bug in SeparateDatabaseAndState.database_backwards().
...
Backport of 542b7f6c50df18f2aa201cf1de81577c1bee643c from master
2015-12-09 11:08:01 -05:00
Tim Graham
e4354d8d7c
[1.9.x] Refs #25886 -- Improved language in Python compatibility section of the release notes.
...
Backport of 26c26e83081d68035d6411b1acc17ba033e1876d from master
2015-12-08 13:05:26 -05:00
Tim Graham
5eeb8edfbb
[1.9.x] Fixed #25881 -- Marked Python 3.2 in Django 1.8 as unsupported at the end of 2016.
...
Backport of e6bd688ef3b58ee522794dce77f64a81b53b3b9e from master
2015-12-08 12:46:14 -05:00
Simon Charette
c0da598077
[1.9.x] Fixed #25867 -- Fixed a system check crash with nested ArrayFields.
...
Thanks to Jean Gourds for the report, Tim and Claude for the review.
Backport of 59b57e672c2f5a685804cce253d2c5314c45c5fa from master
2015-12-07 15:04:13 -05:00
Alex Morozov
0154702a98
[1.9.x] Fixed #25548 -- Prevented FormView.form_invalid() from discarding its form argument.
...
Backport of e171a83b1516a3a2a393a5300527af1aab21c213 from master
2015-12-07 08:12:48 -05:00
Tim Graham
6aaf6728b5
[1.9.x] Refs #25584 -- Corrected note about source of SyntaxErrors when installing Django 1.9.
...
Backport of f5af68ba68c1041d785e5582529134d54895e7c6 from master
2015-12-05 16:33:10 -05:00
Emre Yilmaz
9733ff5f99
[1.9.x] Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend.
...
This also fixes a possible data eviction race condition between
setting and getting a key. Another thread could remove the key
before get_and_set() accesses it again. In this case, now the
default value will be returned instead of None.
Backport of 8e838d9c869083597dc9e161ae2fe37acaa90de9 from master
2015-12-04 12:28:34 -05:00
Alasdair Nicol
519cfbb4e8
[1.9.x] Fixed #25851 -- Removed links to deprecated assignment tag docs.
...
Backport of b6dd0afead80a17d0ac8c3ba35c510afac32a0b8 from master
2015-12-03 10:41:39 -05:00
Tim Graham
acf15a07f5
[1.9.x] Added stub release notes for 1.9.1.
...
Backport of df832001ea84915f9488bd7a0e75a8aa5222ea74 from master
2015-12-01 19:16:51 -05:00
Tim Graham
60cf88f56e
[1.9.x] Added release date for 1.9.
...
Backport of a7edac1578b6445c346ddb8f11580c486cd674fa from master
2015-12-01 18:05:59 -05:00
Jon Dufresne
bf76cf07e0
[1.9.x] Fixed #25778 -- Updated docs links to use https when available.
...
Backport of 7aabd6238028f4bb78d0687bbccc97bcf634e28b from master
2015-12-01 08:03:16 -05:00
Tim Graham
b407410232
[1.9.x] Removed obsolete phrase about adding Python 3.5 in Django 1.9.
...
Backport of 51a37213721e5689f17809990a9e7c38f1c8baf8 from master
2015-11-30 20:10:59 -05:00
Gagaro
08e1c79f7a
[1.9.x] Fixed #25812 -- Restored the ability to use custom formats with the date template filter.
...
Backport of 34d88944f46d3e2734488fd0ca3c2c24c15a0264 from master
2015-11-28 08:44:41 -05:00
Claude Paroz
47f0ac0b16
[1.9.x] Added Scottish Gaelic as new available language
...
Refs #25815 . Thanks gunchleoc <fios@foramnagaidhlog.net> for the Scottish Gaelic
formats.py.
Backport of 8bc0266b3f from master.
2015-11-27 09:59:50 +01:00
Claude Paroz
aca3e10507
[1.9.x] Added Colombian Spanish as new available language
...
Refs #25815 .
Backport of ff0dac9666 from master.
2015-11-27 09:59:19 +01:00
Simon Charette
b4a1d545db
[1.9.x] Fixed #25807 -- Instructed the migration writer about lazy objects.
...
Thanks to Trac alias mrgaolei for the report, Baptiste for the confirmation
and Tim for the review.
Backport of cc2ca9c550fbf8fca8684b373a3c8e3618eea08e from master
2015-11-26 11:21:35 -05:00
Attila Tovt
e4bd6923bd
[1.9.x] Fixed #25772 -- Corrected __len lookup on ArrayField for empty arrays.
...
Backport of 88fc9e2826044110b7b22577a227f122fe9c1fb5 from master
2015-11-25 16:53:23 -05:00
Jacek Bzdak
023bf66bff
[1.9.x] Fixed #25274 --- Made inspectdb handle renamed fields in unique_together.
...
Backport of 2cb50f935aa70e91dd6c2f253becd636a2eb6fb7 from master
2015-11-25 13:15:35 -05:00
Tim Graham
e2231075eb
[1.9.x] Added stub release notes for 1.8.8.
...
Backport of ec202eff84dc56b408f43187e357077521641362 from master
2015-11-25 10:20:09 -05:00
Tim Graham
2e2e099a73
[1.9.x] Added CVE-2015-8213 to the security archive.
...
Backport of 3d805aeaf8ca1af039d6467fd848d364ec085f66 from master
2015-11-24 14:05:39 -05:00
Tim Graham
0b10194b7b
[1.9.x] Added release date for 1.8.7/1.7.11 releases.
2015-11-24 12:04:56 -05:00
Florian Apolloner
3ebbda0aef
[1.9.x] Fixed a settings leak possibility in the date template filter.
...
This is a security fix.
2015-11-24 12:04:55 -05:00
George Marshall
11d54e8f0d
[1.9.x] Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL.
...
Backport of 710e11d076b9e5ef3e3b486dfb70bb55b788691c from master
2015-11-24 11:10:19 -05:00
Tim Graham
8edf8db52f
[1.9.x] Refs #25786 -- Added tests/release notes for set_FOO_order() crash with order_with_respect_to referencing OneToOneField pk.
...
Forwardport of 6d9f061b07ce7aa1a9da6799b3104971ee73998b from stable/1.8.x
The issue was fixed by 7bec480fe2ace94c8e7f0c88485442bfa74436b4.
2015-11-23 12:08:29 -05:00