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 54e2e688e1
from master
2015-11-21 11:41:06 -05:00
areski
bc8bae0ba9
[1.8.x] Corrected GenericIPAddressField protocol parameter doc.
...
Backport of 1e7da99ea6
from master
2015-11-19 11:19:20 -05:00
Chris Lamb
b15eaa2963
[1.8.x] Corrected stacklevel in Engine deprecation warnings.
...
Otherwise we just see django.template.loader and not the "original"
callers.
Backport of ed95091561
from stable/1.9.x
2015-11-19 11:11:21 -05:00
Tim Graham
95eca4f508
[1.8.x] Fixed #25549 -- Documented auth_user_password_change URL.
...
Backport of ad167502f3
from master
2015-11-18 19:36:17 -05:00
Tim Graham
e7da99abd4
[1.8.x] Refs #25526 -- Documented some missing termcolors.
...
Backport of 5f7f3b4685
from master
2015-11-18 10:44:19 -05:00
Neal Todd
a16d4e249c
[1.8.x] De-emphasized use of NullHandler in logging docs.
...
NullHandler removed in 1.9; unused since Django 1.5.
Backport of b3acdeee50
from master
2015-11-18 09:56:33 -05:00
Elena Oat
a9f1ea3275
[1.8.x] Fixed #25526 -- Documented how to output colored text in custom management commands.
...
Backport of d26207d56c
from master
2015-11-17 18:25:08 -05:00
Alex Morozov
b4aa38d106
[1.8.x] Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
...
Backport of 5abed864ee
from master
2015-11-17 10:18:07 -05:00
Tim Graham
583d3c081a
[1.8.x] Refs #23751 -- Added some unicode characters to the latex preamble.
...
Thanks Graham Wideman for the patch.
Backport of a80d70dd10
from master
2015-11-16 20:32:55 -05:00
Tim Graham
a3a27dec8f
[1.8.x] Fixed #23751 -- Fixed code snippet formatting in docs PDF.
...
Thanks Graham Wideman for the patch.
Backport of e48a5b5a03
from master
2015-11-16 20:32:51 -05:00
Mikey Ariel
48abe9d9cd
[1.8.x] Changed section title from "Model syntax" to "Introduction to models".
...
Backport of c9432c44fb
from master
2015-11-16 09:54:30 -05:00
René Fleschenberg
058f604ac1
[1.8.x] Fixed #25531 -- Documented that admin_order_field supports lookups.
...
Backport of 2c72710111
from master
2015-11-14 17:39:29 -05:00
Tim Graham
0c2532766b
[1.8.x] Fixed typo in docs/ref/migration-operations.txt.
...
Backport of 931b946e29
from master
2015-11-14 17:20:37 -05:00
Simon Charette
5a6a5ce0d5
[1.8.x] Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite.
...
Conflicts:
tests/apps/tests.py
tests/migrations/test_graph.py
tests/queryset_pickle/tests.py
tests/runtests.py
Backport of 1c5f4e86bc
from master
2015-11-14 12:45:38 -05:00
Simon Charette
afe84c71eb
[1.8.x] Refs #25745 -- Avoided multiple registration of the same model in schema tests.
...
Conflicts:
tests/schema/tests.py
Backport of 64240263f2
from master
2015-11-14 12:15:51 -05:00
Florian Demmer
da20004a61
[1.8.x] Fixed #17686 , refs #17816 -- Added "Files" section to Unicode topic.
...
Thanks Fako Berkers for help with the patch.
Backport of 25b912abbe
from master
2015-11-14 12:02:37 -05:00
Tim Graham
8b99603120
[1.8.x] Fixed admin_filters test failures when run in reverse.
...
Backport of b1b14587ae
from master
2015-11-14 11:32:09 -05:00
Dmitry Dygalo
e9c9f2ed82
[1.8.x] Fixed #25666 -- Fixed the exact lookup of ArrayField.
...
Backport of 263b3d2ba1
from master
2015-11-14 11:24:21 -05:00
arniu
3b73a9c982
[1.8.x] Made doc icon's edges smooth.
...
Backport of b8f78823ee
from master
2015-11-14 08:12:26 -05:00
Tom Christie
2f4a82e549
[1.8.x] Tweaked example text in docs/ref/templates/builtins.txt.
...
Backport of a32538279c
from master
2015-11-13 07:40:12 -05:00
Tim Graham
a517a3c531
[1.8.x] Bumped mysqlclient test requirement to >= 1.3.7.
...
mysqlclient 1.3.7 fixes the test failures caused by 1.3.6.
Backport of 2514e044a7
from master
2015-11-12 21:34:49 -05:00
Anderson Resende
2a4a9e316e
[1.8.x] Fixed #25744 -- Corrected reference to User object in auth docs.
...
Backport of ce4914eab4
from master
2015-11-12 19:23:59 -05:00
Tim Graham
967335977b
[1.8.x] Replaced "inbuilt" with more common "built-in".
...
Backport of a8f05f405f
from master
2015-11-12 17:30:47 -05:00
Bryan Marty
16c1075d33
[1.8.x] Fixed #25169 -- Documented stacking of permission_required and login_required.
...
Backport of 9788625277
from master
2015-11-12 14:27:22 -05:00
Tim Graham
10d18dec10
[1.8.x] Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
...
Thanks Josh, Anssi, and Carl for reviews and advice.
Backport of 91a431f48c
from master
2015-11-12 13:22:17 -05:00
Matthew Somerville
2c96b3da6f
[1.8.x] Refs #24937 -- Backported more commits to fix for serialization of Date(Time)RangeField.
...
Instead of using DjangoJSONEncoder, use base_field's value_to_string().
Note this means the serialization of e.g. IntegerRangeField now has
strings for lower and upper, so use to_python when they came back in
(same behaviour as ArrayField, hopefully, from where I also got the
set_attributes_from_name function).
Backport of 86d9b10dc3
and
8a842148b6
from master
2015-11-12 09:22:44 -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 2926559cce
from master
2015-11-11 16:53:26 -05:00
Simon Charette
ae4613803c
[1.8.x] Refs #25693 -- Added a regression test for `to_attr` validation on forward m2m.
...
Backport of cc8c02fa0f
from master
2015-11-11 12:30:37 -05:00
Simon Charette
a3baee2f62
[1.8.x] Refs #25693 -- Avoided redundant calls to get_fields() in `to_attr` validation.
...
Backport of 4a9c32f5ee
from master
2015-11-11 12:30:32 -05:00
arniu
74a5664461
[1.8.x] Made doc icons background transparent.
...
Backport of cb32292176
from master
2015-11-11 11:40:04 -05:00
Sergey Fedoseev
1deaafe2f5
[1.8.x] Fixed #25728 -- Fixed description of GEOSGeometry.contains().
...
Backport of 34669ea6b8
from master
2015-11-11 09:35:25 -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 d3e3703a15
from master
2015-11-11 08:57:46 -05:00
Tim Graham
43099f543e
[1.8.x] Updated six to 1.10.0.
...
Backport of 4c593eaa5f
from master
2015-11-11 06:54:11 -05:00
Tim Graham
e592574e6e
[1.8.x] Fixed #25727 -- Added a doc link to cached_property.
...
Backport of e0de82c9b2
from master
2015-11-10 13:29:04 -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 4608573788
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
Tim Graham
f787aaeb26
[1.8.x] Removed obsolete note about installing psycopg2 on Windows.
...
psycopg2 now publishes binary wheel files for Windows
so you can install it using pip.
Backport of bc6eaca304
from master
2015-11-10 10:01:11 -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 1155843a41
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
Thijs van Dien
78a28cca20
[1.8.x] Fixed #25473 -- Changed underscores in url() names to dashes in docs.
...
To improve consistency, sample URL names that had underscores
in them now use dashes instead. That excludes URL names that
have some relation to the code, such as those generated by
the admin.
Thanks guettli for reporting this.
Backport of 1679472165
from master
2015-11-07 22:02:03 +01:00
Tim Graham
bd55e80635
[1.8.x] Fixed #25290 -- Warned against modifying objects created in setUpTestData() in tests.
...
Backport of 81006b9657
from master
2015-11-07 20:34:07 +01:00
Attila Tovt
189ceae19d
[1.8.x] Fixed #25681 -- Added 'default' to DATABASES example.
...
Backport of ac750dbbc0
from master
2015-11-07 11:10:18 +01:00
Sergey Fedoseev
a71fc544c6
[1.8.x] Fixed #25660 -- Documented GEOSGeometry.dims
...
Backport of f98126a05a
from master
2015-11-05 10:59:00 +01:00
Alex Morozov
a31973c7c5
[1.8.x] Fixed #24244 -- Documented contrib.admin.models.LogEntry
...
Backport of 99c58c27d5
from master
2015-11-05 10:20:34 +01:00
Tim Graham
e86b5a5aab
[1.8.x] Added stub release notes for 1.8.7.
...
Backport of d49b36e485
from master
2015-11-05 09:43:46 +01:00
Tim Graham
617063e1a9
[1.8.x] Post-release version bump.
2015-11-04 18:10:01 +01:00
Tim Graham
80b7e9d09f
[1.8.x] Bumped version for 1.8.6 release.
2015-11-04 15:28:20 +01:00
Tim Graham
9a1ccbfcae
[1.8.x] Added release date for 1.8.6.
2015-11-04 15:26:24 +01:00