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

21808 Commits

Author SHA1 Message Date
Derek J. Curtis
6be9589eb3 Fixed #25900 -- Fixed regression in CommonMiddleware ETag support. 2015-12-10 13:51:07 -05:00
Tim Graham
5bc881541c Moved a few CommonMiddleware tests to the correct test class. 2015-12-10 13:44:54 -05:00
Damien
071af82539 Refs #25099 -- Added removal of build_request_repr() to 1.9 release notes. 2015-12-10 11:45:28 -05:00
Shai Berger
c8b3fbe21b Refs #25896 -- Fixed migration test failure on Oracle
The test creates and deletes a model in the same migration, and the model
had an AutoField. On Oracle, AutoField's are set up using deferred SQL, which
in this case was trying to modify a table after it had dbeen removed.
2015-12-10 02:12:04 +02:00
Tim Graham
179fbab7e0 Fixed #25711 -- Updated the project template's include() example.
Referencing URLs by dotted path is a stronger convention than
importing the URLs.
2015-12-09 11:27:16 -05:00
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
Claude Paroz
cd40d9e721 Fixed #25657 -- Ignored exceptions when destroying geometry objects
Due to randomness of garbage collection with geometry objects, it's
easier to simply ignore AttributeError/TypeError generally raised when
parts of objects are already garbage-collected.
Thanks Sergey Fedoseev and Tim Graham for reviewing the patch.
2015-12-08 22:06:34 +01: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
Nik Nyby
d7a58f285b Refs #25803 -- Documented npm compatibility in package.json 2015-12-08 15:13:22 -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
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