0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
Commit Graph

21793 Commits

Author SHA1 Message Date
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
Sergey Fedoseev
a8614fb438 Fixed #25876 -- Removed OGRGeometry.transform_to() backwards-compatibility method. 2015-12-08 10:05:38 +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
Attila Tovt
6f229048dd Fixed #25547 -- Made Model.refresh_from_db() update FileField's instance. 2015-12-05 17:23:13 -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
Tim Graham
93be2f7dea Refs #25677 -- Skipped an i18n test on older gettext versions. 2015-12-04 17:53:15 -05: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
Daniel Wiesmann
0e7d59df3e Refs #25734 -- Relaxed GDALRaster statistics test to use assertAlmostEqual.
Some versions of GDAL give slightly different results.
2015-12-04 07:35:50 -05:00
bphillips
7f663aeccf Fixed #25820 -- Allowed whitespace in admin's calendar.js month/weekday names.
This is useful for certain language translations.
2015-12-03 19:44:15 -05:00
Sergey Fedoseev
717a54c883 Fixed #25797 -- Fixed regex for getting units from SRS WKT. 2015-12-03 19:03:28 -05:00
Claude Paroz
b52b9cf6f2 Refs #25655 -- Made HAS_GEOS depend on a minimum version.
This skips some tests on systems with GEOS < 3.3 (the minimum
supported version).
2015-12-03 18:22:58 -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
Jaap Roes
c6ea4ed5d2 Fixed #25825 -- Implemented __ne__() for template Origin 2015-12-03 15:59:34 -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
Ville Skyttä
4d0f8831a7 Fixed #25667 -- Fixed admindocs initial_header_level. 2015-12-02 17:56:38 -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
Claude Paroz
273ce8aa6a Pulled contrib translations from Transifex
Forward port of 6a4649c27e from stable/1.9.x
2015-12-01 20:37:57 +01:00
Claude Paroz
0c37bae189 Pulled core Django translations from Transifex
Forward port of 3039d76bd6 from stable/1.9.x
2015-12-01 20:36:53 +01: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
gunchleoc
89b6856aa6 Fixed #25823 -- Made some titles consistent in admindocs. 2015-11-30 11:17:48 -05:00
Sergey Fedoseev
49f1cc54e6 Fixed #25835 -- Removed Adaptor alias from spatial operations classes. 2015-11-30 08:57:15 -05:00
elky
2084aed20c Fixed #25827 -- Removed extra spacing in admin's DateTimeField. 2015-11-30 08:46:22 -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
Baptiste Mispelon
ab33269b00 Fixed #25826 -- Improved help text for the --parallel option
This was overlooked in 81f5d63218.
2015-11-27 23:08:34 +01:00
Baptiste Mispelon
81f5d63218 Improved help text for runtests's --parallel option 2015-11-27 21:43:02 +01: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
Claude Paroz
867faeda9e Added two translator comments in contrib apps
Thanks GunChleoc for the suggestions.
2015-11-27 09:37:31 +01:00
Aymeric Augustin
11f10b70f3 Fixed #25302 (again) -- Ignored scheme when checking for bad referers.
The check introduced in 4ce433e was too strict in real life. The poorly
implemented bots this patch attempted to ignore are sloppy when it comes
to http vs. https.
2015-11-26 21:27:12 +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
Jaap Roes
831514867c Fixed a typo in the template Parser.parse docstring. 2015-11-26 09:57:21 -05:00
Tim Graham
2c0be9045b Fixed #25806 -- Removed name mangling from syndication.Feed's _get_dynamic_attr().
It doesn't seem to serve any purpose.
2015-11-25 17:46:58 -05:00