Amos Onn
542b7f6c50
Fixed #25896 -- Fixed state bug in SeparateDatabaseAndState.database_backwards().
2015-12-09 11:06:57 -05:00
Tim Graham
890938e756
Removed redundant highlight/code-block directives in docs/ref/templates/builtins.txt.
2015-12-09 09:54:42 -05:00
Andrew Plummer
1aa8bf9b43
Fixed typo in docs/ref/forms/validation.txt.
2015-12-09 07:20:33 -05:00
bphillips
d508326e2f
Fixed #25672 -- Clarified why related ManyToManyFields with a custom intermediate model disable the remove() method.
2015-12-08 18:00:10 -05:00
Gavin Wahl
ec708803f7
Fixed user_passes_test() signature in docs.
2015-12-08 15:56:10 -05:00
Raphael Michel
82976e5c3f
Fixed #25637 -- Added URLValidator hostname length validation.
...
URLValidator now validates the maximum length of a hostname and the
maximum length of all labels inside the hostname.
2015-12-08 15:46:45 -05:00
Tim Graham
166e0490d3
Fixed #25895 -- Used a consistent style for UserAdmin overrides.
...
Thanks Justin Abrahms for the report.
2015-12-08 14:40:55 -05:00
Tim Graham
26c26e8308
Refs #25886 -- Improved language in Python compatibility section of the release notes.
2015-12-08 13:01:25 -05:00
Tim Graham
e6bd688ef3
Fixed #25881 -- Marked Python 3.2 in Django 1.8 as unsupported at the end of 2016.
2015-12-08 10:55:49 -05:00
Qile Wang
0f2c2c104b
Clarified a docstring in tutorial05.
2015-12-07 18:52:25 -05:00
Tim Graham
a5619f7ed3
Fixed #25860 -- Documented a transaction leak possiblity in TestCase.
...
Thanks Jonas Haag for report and review.
2015-12-07 18:14:23 -05:00
Simon Charette
59b57e672c
Fixed #25867 -- Fixed a system check crash with nested ArrayFields.
...
Thanks to Jean Gourds for the report, Tim and Claude for the review.
2015-12-07 14:45:22 -05:00
Tim Graham
9c835990ea
Added "Regressions from older versions of Django" as a backport qualification.
2015-12-07 10:21:33 -05:00
Tim Graham
285b08abc1
Refs #25548 -- Forwardported 1.9.1 release note.
2015-12-07 08:17:01 -05:00
Tim Graham
f5af68ba68
Refs #25584 -- Corrected note about source of SyntaxErrors when installing Django 1.9.
2015-12-05 16:32:56 -05:00
Thomas Grainger
d638cdc42a
Fixed #25165 -- Removed inline JavaScript from the admin.
...
This allows setting a Content-Security-Policy HTTP header
(refs #15727 ).
Special thanks to blighj, the original author of this patch.
2015-12-05 15:51:57 -05:00
Florian Apolloner
105028eec6
Removed deprecated usage of url tag from auth docs.
2015-12-05 19:21:30 +01:00
Sergey Fedoseev
479ba5add2
Fixed #25740 -- Documented GEOSGeometry operators.
2015-12-04 12:37:33 -05:00
Emre Yilmaz
8e838d9c86
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.
2015-12-04 12:22:17 -05:00
Sergey Fedoseev
25f5b5c19d
Fixed #25853 -- Added support for GeoHash function on SpatiaLite.
2015-12-04 08:09:21 -05:00
Alexander Sosnovskiy
b61eab18f7
Fixed #13774 -- Added models.Field.rel_db_type().
2015-12-04 07:55:41 -05:00
Raphaël Hertzog
9f4e031bd3
Fixed #25761 -- Added __cause__.__traceback__ to reraised exceptions.
...
When Django reraises an exception, it sets the __cause__ attribute even
in Python 2, mimicking Python's 3 behavior for "raise Foo from Bar".
However, Python 3 also ensures that all exceptions have a __traceback__
attribute and thus the "traceback2" Python 2 module (backport of Python
3's "traceback" module) relies on the fact that whenever you have a
__cause__ attribute, the recorded exception also has a __traceback__
attribute.
This is breaking testtools which is using traceback2 (see
https://github.com/testing-cabal/testtools/issues/162 ).
This commit fixes this inconsistency by ensuring that Django sets
the __traceback__ attribute on any exception stored in a __cause__
attribute of a reraised exception.
2015-12-03 16:31:50 -05:00
Sergey Fedoseev
395af23ac1
Refs #25659 -- Added missing docs for Difference/Intersection/SymDifference functions.
...
Complements 7127eb287f
.
2015-12-03 12:59:01 -05:00
Qile Wang
83a710b8d3
Fixed typo in docs/ref/models/instances.txt
2015-12-03 12:55:32 -05:00
Josh Soref
93452a70e8
Fixed many spelling mistakes in code, comments, and docs.
2015-12-03 12:48:24 -05:00
Alasdair Nicol
b6dd0afead
Fixed #25851 -- Removed links to deprecated assignment tag docs.
2015-12-03 10:40:56 -05:00
Sergey Fedoseev
0825f77f76
Fixed #25836 -- Added support for MakeLine aggregate on SpatiaLite.
2015-12-02 17:25:33 -05:00
Eliezer Kanal
d3b488f5bd
Updated link to 1000 common passwords.
...
xato.net is dead; replaced with link to archive.org.
2015-12-02 12:57:02 -05:00
Tim Graham
df832001ea
Added stub release notes for 1.9.1.
2015-12-01 19:16:24 -05:00
Tim Graham
a7edac1578
Added release date for 1.9.
2015-12-01 18:04:58 -05:00
Jon Dufresne
7aabd62380
Fixed #25778 -- Updated docs links to use https when available.
2015-12-01 08:01:34 -05:00
Tim Graham
51a3721372
Removed obsolete phrase about adding Python 3.5 in Django 1.9.
2015-11-30 20:07:22 -05:00
Sergey Fedoseev
da08195b36
Removed old versionadded/changed directives.
2015-11-30 18:45:57 -05:00
Gagaro
34d88944f4
Fixed #25812 -- Restored the ability to use custom formats with the date template filter.
2015-11-28 08:38:45 -05:00
James Beith
e03798a4ae
Fixed a typo in the managers docs.
2015-11-27 13:51:58 -05:00
Claude Paroz
8bc0266b3f
Added Scottish Gaelic as new available language
...
Refs #25815 . Thanks gunchleoc <fios@foramnagaidhlog.net> for the Scottish Gaelic
formats.py.
2015-11-27 09:55:11 +01:00
Claude Paroz
ff0dac9666
Added Colombian Spanish as new available language
...
Refs #25815 .
2015-11-27 09:55:11 +01:00
Simon Charette
cc2ca9c550
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.
2015-11-26 11:14:47 -05:00
Sergey Fedoseev
f920be7c32
Fixed #25773 -- Deprecated the geos.MultiPolygon.cascaded_union property.
2015-11-25 17:31:24 -05:00
Tim Graham
0cfe589f95
Fixed man page by ensuring ".pot" doesn't render unescaped.
...
See https://github.com/sphinx-doc/sphinx/issues/2131
2015-11-25 17:20:18 -05:00
Attila Tovt
88fc9e2826
Fixed #25772 -- Corrected __len lookup on ArrayField for empty arrays.
2015-11-25 16:53:05 -05:00
Sergey Fedoseev
a3708fda35
Fixed #25649 -- Documented that all GEOSGeometry constructors take srid kwarg.
2015-11-25 16:28:54 -05:00
Daniel Wiesmann
8f5904560a
Fixed #25734 -- Made GDALBand min and max properties use GDALComputeRasterStatistics.
...
Thanks Sergey Fedoseev and Tim Graham for the review.
2015-11-25 13:40:39 -05:00
Jacek Bzdak
2cb50f935a
Fixed #25274 --- Made inspectdb handle renamed fields in unique_together.
2015-11-25 13:07:00 -05:00
Tim Graham
ec202eff84
Added stub release notes for 1.8.8.
2015-11-25 10:19:32 -05:00
Tim Graham
3d805aeaf8
Added CVE-2015-8213 to the security archive.
2015-11-24 13:10:10 -05:00
Tim Graham
4a2d7beb95
Added release date for 1.8.7/1.7.11 releases.
2015-11-24 11:20:29 -05:00
Florian Apolloner
316bc3fc94
Fixed a settings leak possibility in the date template filter.
...
This is a security fix.
2015-11-24 11:20:29 -05:00
George Marshall
710e11d076
Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL.
2015-11-24 11:09:15 -05:00
Tim Graham
a918f8b089
Documented that forms.Field.help_text isn't HTML-escaped.
2015-11-24 10:17:16 -05:00
Bulgantamir Gankhuyag
8bce6fa637
Clarified default value for DateField to emulate auto_now_add.
2015-11-24 08:38:14 -05:00
Sergey Fedoseev
97e1d24330
Refs #25739 -- Lessened the prominence of geos.fromstr() in the docs.
2015-11-23 17:22:37 -05:00
Tim Graham
e07def14b8
Refs #25786 -- Added tests/release notes for set_FOO_order() crash with order_with_respect_to referencing OneToOneField pk.
...
Forwardport of 6d9f061b07
from stable/1.8.x
The issue was fixed by 7bec480fe2
.
2015-11-23 11:33:13 -05:00
Stephane Angel (Twidi)
8091e8c5c6
Corrected doc'd differences between django-admin and manage.py.
2015-11-23 07:23:00 -05:00
Simon Charette
6d03bc14e7
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.
Conflicts:
django/db/models/deletion.py
tests/delete/tests.py
Forward port of 7c3ef19978
from stable/1.8.x
2015-11-22 23:20:33 -05:00
Tim Graham
54e2e688e1
Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey w/on_delete=SET_NULL.
2015-11-21 10:34:01 -05:00
Sergey Fedoseev
ccc8f67b77
Fixed #25722 -- Added the GEOSGeometry.covers() method.
2015-11-20 12:36:03 -05:00
Andrei Fokau
998894e1b9
Fixed #25764 -- Added support for serialization of enum.Enum in migrations.
...
Thanks Tim Graham for the review.
2015-11-19 17:21:12 -05:00
Anton Baklanov
80bcbecd4a
Fixed #19361 -- Added link to object's change form in admin's post-save message.
...
Thanks Roel Kramer for tests.
2015-11-19 15:04:32 -05:00
areski
1e7da99ea6
Corrected GenericIPAddressField protocol parameter doc.
2015-11-19 11:18:31 -05:00
Tim Graham
4921d4e59f
Fixed #25769 -- Updated get_version() release candidate naming for PEP 0440.
2015-11-19 10:00:09 -05:00
Tim Graham
afd0463961
Removed a bug fix from the 1.9 release notes.
...
The fix has also since been backported to stable/1.8.x.
2015-11-19 08:56:54 -05:00
Tim Graham
ad167502f3
Fixed #25549 -- Documented auth_user_password_change URL.
2015-11-18 19:35:56 -05:00
Sergey Fedoseev
034dfbfc05
Fixed #25654 -- Added the GEOSGeometry.unary_union property.
2015-11-18 19:17:16 -05:00
Sergey Fedoseev
7a452c5ce2
Fixed #25665 -- Deprecated getter/setter of Point.tuple.
2015-11-18 12:06:03 -05:00
Sergey Fedoseev
7803f429a4
Refs #25665 -- Deprecated getters/setters of Point coordinate properties.
2015-11-18 11:57:26 -05:00
Sergey Fedoseev
b7177cc2a4
Refs #25665 -- Deprecated getter/setter of GEOSGeometry.srid.
2015-11-18 11:49:48 -05:00
Tim Graham
5f7f3b4685
Refs #25526 -- Documented some missing termcolors.
2015-11-18 10:26:39 -05:00
Neal Todd
b3acdeee50
De-emphasized use of NullHandler in logging docs.
...
NullHandler removed in 1.9; unused since Django 1.5.
2015-11-18 09:54:53 -05:00
Tim Graham
6258e16335
Refs #24971 , #25356 -- Clarified how apps.py works in 1.9 release notes.
2015-11-17 19:32:32 -05:00
Elena Oat
d26207d56c
Fixed #25526 -- Documented how to output colored text in custom management commands.
2015-11-17 15:06:13 -05:00
Raphael Michel
16945f0e9c
Fixed #25695 -- Added template_name parameter to csrf_failure() view.
2015-11-17 14:28:18 -05:00
Alex Morozov
5abed864ee
Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
2015-11-17 10:16:29 -05:00
Tim Graham
02d974ceb5
Fixed typo in docs/releases/1.9.txt.
2015-11-16 19:34:12 -05:00
Tim Graham
c315f96024
Removed a docs workaround for an old Sphinx version.
2015-11-16 18:49:32 -05:00
Tim Graham
a80d70dd10
Refs #23751 -- Added some unicode characters to the latex preamble.
...
Thanks Graham Wideman for the patch.
2015-11-16 18:49:32 -05:00
Tim Graham
e48a5b5a03
Fixed #23751 -- Fixed code snippet formatting in docs PDF.
...
Thanks Graham Wideman for the patch.
2015-11-16 18:49:31 -05:00
Tim Graham
101dbeb673
Corrected outdated information in submitting patches guide.
2015-11-16 09:59:56 -05:00
Mikey Ariel
c9432c44fb
Changed section title from "Model syntax" to "Introduction to models".
2015-11-16 09:53:57 -05:00
Tim Graham
21c82646fe
Documented how to see the full traceback of a test failure.
2015-11-16 09:12:26 -05:00
Agnieszka Lasyk
1f8dad6915
Fixed #25755 -- Unified spelling of "website".
2015-11-16 06:44:14 -05:00
René Fleschenberg
2c72710111
Fixed #25531 -- Documented that admin_order_field supports lookups.
2015-11-14 17:31:21 -05:00
Tim Graham
931b946e29
Fixed typo in docs/ref/migration-operations.txt.
2015-11-14 17:19:45 -05:00
Tim Graham
6c01010de6
Added technical board for 1.10 release cycle.
2015-11-14 15:55:28 -05:00
Florian Demmer
25b912abbe
Fixed #17686 , refs #17816 -- Added "Files" section to Unicode topic.
...
Thanks Fako Berkers for help with the patch.
2015-11-14 12:01:51 -05:00
Dmitry Dygalo
263b3d2ba1
Fixed #25666 -- Fixed the exact lookup of ArrayField.
2015-11-14 11:21:16 -05:00
arniu
b8f78823ee
Made doc icon's edges smooth.
2015-11-14 08:11:47 -05:00
Tim Graham
f85e3cb7cb
Updated release checksums template.
2015-11-13 09:05:10 -05:00
Tom Christie
a32538279c
Tweaked example text in docs/ref/templates/builtins.txt.
2015-11-13 07:38:40 -05:00
Anderson Resende
ce4914eab4
Fixed #25744 -- Corrected reference to User object in auth docs.
2015-11-12 19:22:30 -05:00
Aaron Elliot Ross
19a5f6da32
Fixed #25469 -- Added autoescape option to DjangoTemplates backend.
...
Thanks Aymeric for the initial patch and Carl for review.
2015-11-12 19:14:23 -05:00
Tim Graham
a8f05f405f
Replaced "inbuilt" with more common "built-in".
2015-11-12 17:29:03 -05:00
Bryan Marty
9788625277
Fixed #25169 -- Documented stacking of permission_required and login_required.
2015-11-12 14:23:59 -05:00
Tim Graham
91a431f48c
Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
...
Thanks Josh, Anssi, and Carl for reviews and advice.
2015-11-12 12:29:59 -05:00
Tim Graham
34bb6c0cb7
Refs #24937 -- Forwardport of 1.8.7 release note.
...
Forwardport of 3ded51bcf2
from stable/1.8.x
2015-11-11 16:58:47 -05:00
Neal Todd
74365585e2
Fixed #25732 -- Updated template system design philosophy.
...
Removed the bit about not allowing assignment to variables
because simple_tag now allows this.
2015-11-11 11:49:51 -05:00
arniu
cb32292176
Made doc icons background transparent.
2015-11-11 11:37:28 -05:00
Sergey Fedoseev
34669ea6b8
Fixed #25728 -- Fixed description of GEOSGeometry.contains().
2015-11-11 09:34:58 -05:00
Marti Raudsepp
d3e3703a15
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.
2015-11-11 08:56:10 -05:00
Tim Graham
4c593eaa5f
Updated six to 1.10.0.
2015-11-10 22:05:48 -05:00