1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00
Commit Graph

20667 Commits

Author SHA1 Message Date
Tim Graham
843208990b [1.8.x] Post-release version bump. 2015-11-24 13:58:01 -05:00
Tim Graham
8dd33d4298 [1.8.x] Bumped version for 1.8.7 release. 1.8.7 2015-11-24 11:31:34 -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 710e11d076 from master
2015-11-24 11:10:23 -05:00
Tim Graham
acaf30ad17 [1.8.x] Documented that forms.Field.help_text isn't HTML-escaped.
Backport of a918f8b089 from master
2015-11-24 10:17:39 -05:00
Bulgantamir Gankhuyag
92d0d2cb1b [1.8.x] Clarified default value for DateField to emulate auto_now_add.
Backport of 8bce6fa637 from master
2015-11-24 08:40:14 -05:00
Sergey Fedoseev
954d63155f [1.8.x] Refs #25739 -- Lessened the prominence of geos.fromstr() in the docs.
Backport of 97e1d24330 from master
2015-11-23 17:25:04 -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 7bec480fe2 from master
2015-11-23 11:05:18 -05:00
Stephane Angel (Twidi)
8f724817f3 [1.8.x] Corrected doc'd differences between django-admin and manage.py.
Backport of 8091e8c5c6 from master
2015-11-23 07:51:33 -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 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