Tim Graham
4fd5f06d1e
[1.8.x] Added release date for 1.8.8 release.
...
Backport of 24c1713e2ec29214838be61cc6bf13b6bf380f4f from master
2016-01-02 08:37:08 -05:00
varunnaganathan
f6b4893a9f
[1.8.x] Fixed #25316 -- Fixed a crash with order_by() and values() after annotate().
...
Backport of 3eba9638ee69138c73efb1d1c1d1b806ddafc6cf from master
2016-01-02 08:20:07 -05:00
Anssi Kääriäinen
1261c49690
[1.8.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:20:00 -05:00
Alexander Gaevsky
83174866ac
[1.8.x] Fixed #25465 -- Restored line breaks conversion in admin readonly fields.
...
Backport of 69208a5a1c55d42ca0eaffa900be643d9f801089 from master
2015-12-29 19:56:23 -05:00
Markus Bertheau
b51086d573
[1.8.x] Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.
...
Backport of 4a438e400b7ce0ab9d0b6876196cbe8d620a4171 from master
2015-12-24 11:25:50 -05:00
Tim Graham
d156ae0612
[1.8.x] Fixed #25963 -- Clarified render_to_response() context_instance deprecation.
...
Backport of 36d0aa43036090685cebe6c9f757631cdadb1400 from stable/1.9.x
2015-12-22 13:11:43 -05:00
Claude Paroz
67a62703cc
[1.8.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:53:16 +01:00
Simon Charette
4b02b433b7
[1.8.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:55:05 -05:00
Federico Frenguelli
905e94a07e
[1.8.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:29:00 -05:00
Amos Onn
0772bffd4a
[1.8.x] Fixed #25896 -- Fixed state bug in SeparateDatabaseAndState.database_backwards().
...
Backport of 542b7f6c50df18f2aa201cf1de81577c1bee643c from master
2015-12-09 11:08:17 -05:00
Tim Graham
975a451153
[1.8.x] Refs #25886 -- Improved language in Python compatibility section of the release notes.
...
Backport of 26c26e83081d68035d6411b1acc17ba033e1876d from master
2015-12-08 13:05:51 -05:00
Tim Graham
14e1e53a90
[1.8.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:48:07 -05:00
Gagaro
9582ba51bd
[1.8.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:51 -05:00
Attila Tovt
3ec4e739dd
[1.8.x] Fixed #25772 -- Corrected __len lookup on ArrayField for empty arrays.
...
Backport of 88fc9e2826044110b7b22577a227f122fe9c1fb5 from master
2015-11-25 16:53:27 -05:00
Jacek Bzdak
834ad41472
[1.8.x] Fixed #25274 --- Made inspectdb handle renamed fields in unique_together.
...
Backport of 2cb50f935aa70e91dd6c2f253becd636a2eb6fb7 from master
2015-11-25 13:17:24 -05:00
Tim Graham
108038f2b4
[1.8.x] Added stub release notes for 1.8.8.
...
Backport of ec202eff84dc56b408f43187e357077521641362 from master
2015-11-25 10:20:13 -05:00
Tim Graham
2be1bdcfd0
[1.8.x] Backported the latest version of the security issue archive.
2015-11-24 14:05:09 -05:00
Tim Graham
33de26c6ed
[1.8.x] Added release dates for 1.8.7/1.7.11 releases.
2015-11-24 11:31:10 -05:00
Florian Apolloner
9f83fc2f66
[1.8.x] Fixed a settings leak possibility in the date template filter.
...
This is a security fix.
2015-11-24 11:31:10 -05:00
George Marshall
581b9e5047
[1.8.x] Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL.
...
Backport of 710e11d076b9e5ef3e3b486dfb70bb55b788691c from master
2015-11-24 11:10:23 -05:00
Tim Graham
6d9f061b07
[1.8.x] Fixed #25786 -- Fixed set_FOO_order() crash with order_with_respect_to referencing OneToOneField pk.
...
Partial backport of 7bec480fe2ace94c8e7f0c88485442bfa74436b4 from master
2015-11-23 11:05:18 -05:00
Simon Charette
7c3ef19978
[1.8.x] Fixed #25685 -- Fixed a duplicate query regression on deletion of proxied models.
...
Thanks to Trac alias ppetrid for the report and Tim for the review.
2015-11-22 23:07:30 -05:00
Tim Graham
2179e5a2bc
[1.8.x] Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey w/on_delete=SET_NULL.
...
Backport of 54e2e688e1cfbdb37dfa5dd3b3ffdf2af12b4423 from master
2015-11-21 11:41:06 -05:00
Dmitry Dygalo
e9c9f2ed82
[1.8.x] Fixed #25666 -- Fixed the exact lookup of ArrayField.
...
Backport of 263b3d2ba132ea443193dc0b728741317742c8d3 from master
2015-11-14 11:24:21 -05:00
Tim Graham
967335977b
[1.8.x] Replaced "inbuilt" with more common "built-in".
...
Backport of a8f05f405f8b78e13d7c4c9ffd73d6182b6fc4d5 from master
2015-11-12 17:30:47 -05:00
Matthew Somerville
3ded51bcf2
[1.8.x] Fixed #24937 -- Fixed serialization of Date(Time)RangeField.
...
Use the DjangoJSONEncoder so that datetime and date are encoded
appropriately.
Backport of 2926559cce34e48efb4b073721926d737e372dd3 from master
2015-11-11 16:53:26 -05:00
Marti Raudsepp
9cdfdbdd1f
[1.8.x] Fixed #25720 -- Made gettext() return bytestring on Python 2 if input is bytestring.
...
This is consistent with the behavior of Django 1.7.x and earlier.
Backport of d3e3703a15cd9d294406121bc43be0c75b1a4e0e from master
2015-11-11 08:57:46 -05:00
Tim Graham
43099f543e
[1.8.x] Updated six to 1.10.0.
...
Backport of 4c593eaa5f6767ac56a677299c984ee46c88a2cb from master
2015-11-11 06:54:11 -05:00
Ian Foote
5fc9a1b8bd
[1.8.x] Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.
...
Thanks to Jamie Matthews for finding and explaining the bug.
Backport of 4608573788c04fc047da42b4b7b48fdee8136ad3 from master
2015-11-10 12:12:52 -05:00
David Filipovic
8c8a6d8a3f
[1.8.x] Fixed #25618 -- Restored migration support for non-upgraded apps.
...
A non-upgraded app is one that retains South migrations in the
`migrations` module and doesn't introduce Django migrations.
2015-11-10 10:34:25 -05:00
Marti Raudsepp
3144785ebf
[1.8.x] Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.
...
This fixes a regression from refs #25496 .
Backport of 1155843a41af589a856efe8e671a796866430049 from master
2015-11-09 12:47:08 -05:00
Josep Cugat
a42c5376e7
[1.8.x] Fixed #25686 -- Fixed crash on routers without an allow_migrate() method.
...
Thanks Simon Charette for review.
2015-11-09 10:50:02 -05:00
Aymeric Augustin
94d13415d8
[1.8.x] Fixed debug view crash during autumn DST change.
...
This only happens if USE_TZ = False and pytz is installed (perhaps not
the most logical combination, but who am I to jugde?)
Refs #23714 which essentially fixed the same problem when USE_TZ = True.
Thanks Florian and Carl for insisting until I wrote a complete patch.
Backport of 1014ba026e from master
2015-11-07 23:18:59 +01:00
Tim Graham
e86b5a5aab
[1.8.x] Added stub release notes for 1.8.7.
...
Backport of d49b36e485d201dd230a01f6cb8ea6e8e4fddb49 from master
2015-11-05 09:43:46 +01:00
Tim Graham
9a1ccbfcae
[1.8.x] Added release date for 1.8.6.
2015-11-04 15:26:24 +01:00
Tim Graham
052bd3f7e3
[1.8.x] Fixed #25100 -- Documented an upgrade caveat for contenttypes migration.
...
Backport of 81b55fb90078788bfdc064550f2ff9da2c79d3b6 from master
2015-10-30 10:31:08 -04:00
Tim Graham
e20a27b52b
[1.8.x] Fixed #23985 -- Documented a backwards incompatible change in URLValidator.
...
Backport of 8c5b8018f69226389a1373523c41cd37883c9556 from master
2015-10-29 18:07:05 -04:00
Tim Graham
12f4db23aa
[1.8.x] Fixed #25489 -- Documented that SESSION_SAVE_EVERY_REQUEST doesn't create empty sessions.
...
Backport of abf5ccc29c45d53ec17541179bb5f0a75b28915d from master
2015-10-29 17:29:21 -04:00
Simon Charette
c42e4e736a
Fixed #25622 -- Accounted for generic relations in the admin to field validation
...
Thanks to Jonathan Liuti for the report and Tim Graham for the review.
Conflicts:
django/contrib/admin/options.py
2015-10-29 13:20:44 -04:00
Dheerendra Rathor
540de2f797
[1.8.x] Fixed #25620 -- Made URLValidator prohibit URLs with consecutive dots in the domain section.
...
Backport of 96fe90f5356971e0e51a0bc41e045dde600d7521 from master
2015-10-29 11:14:36 -04:00
Tim Graham
65bff161ff
[1.8.x] Fixed #25618 -- Added a helpful error message when Django & south migrations exist in the same directory.
2015-10-28 09:59:32 -04:00
Tim Graham
69e6045ceb
[1.8.x] Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid value.
...
Backport of 1f07da3e29c7c3d47968e1c4531dd9bf902575b7 from master
2015-10-27 08:13:27 -04:00
Tim Graham
d27085b02d
[1.8.x] Documented Python 3.5 support for Django 1.8.
2015-10-25 06:02:21 -04:00
Claude Paroz
244b7c930f
[1.8.x] Fixed #25592 -- Fixed misnamed strictly_above PostGIS lookup
...
Fixes a regression from 2bd1bbc42. Thanks Daniel Wiesmann for the report
and Tim Graham for the review.
Backport of c08f85fd54 from master.
2015-10-22 20:35:54 +02:00
Simon Charette
71962629c0
[1.8.x] Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps.
...
Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review.
Backport of 3db3ab71e97d34260057a6f51d4b2f72da30dc8d from master
2015-10-19 20:13:47 -04:00
Aymeric Augustin
9ccb92ad01
[1.8.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 df0a446f from master.
2015-10-19 20:41:48 +02:00
Josh Smeaton
42e029f6c4
[1.8.x] Fixed #25517 -- Made Concat function idempotent on SQLite.
...
Backport of 6c95b134e9b2d5641c123551c080305e90e6a89d from master
2015-10-17 15:58:17 -04:00
Antoine Catton
ee6785ebea
[1.8.x] Fixed #25506 -- Allowed filtering over a RawSQL annotation.
...
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
Backport of b971c1cd78a0bf831c1c30080089c4a384d037a0 from master
2015-10-14 12:21:36 -07:00
Andriy Sokolovskiy
eb85e6672a
[1.8.x] Fixed #24156 -- Fixed inherited related name of ManyToManyField.
...
Fixed situation when parent abstract model declares related_name='+'
and child models had an invalid queryset.
Backport of f7b297815819153b53dc1125d3f42869fb1b7ebc from master
2015-10-13 04:17:50 -07:00
Mariusz Felisiak
4ec96b776b
[1.8.x] Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model.
...
Backport of 914167abf19d16ac97c0f1f6ae1b08cb377c8f3a from master
2015-10-06 19:26:00 -04:00