Commit Graph

21889 Commits

Author SHA1 Message Date
Sven Grunewaldt 9af40f5df1 Fixed #25845 -- Fixed incorrect timezone warnings in custom admin templates. 2015-12-17 14:35:13 -05:00
Claude Paroz d91cc25a2a Fixed #25942 -- Fixed TypedChoiceField.has_changed with nullable field
This fixes a regression introduced by 871440361.
2015-12-17 15:38:19 +01:00
Garrison Benson 2ec23a3d41 Refs #13110 -- Fixed typo in Feed class reference. 2015-12-17 09:09:09 -05:00
Simon Charette c4e372aaf4 Fixed #25852 -- Made sure AlterModelManager forces a reload of its model state.
Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus
for the review.
2015-12-15 12:22:59 -05:00
Stewart Park b7fdd60d85 Fixed #24675 -- Skipped SQL_AUTO_IS_NULL query on MySQL if not needed. 2015-12-15 10:30:57 -05:00
Tim Graham 3d2236773b Refs #10060 -- Corrected description of multiple annotations bug. 2015-12-15 07:59:37 -05:00
Sergey Fedoseev 69b69f6d60 Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values(). 2015-12-15 07:29:35 -05:00
Ed Bartosh 423b3afce4 Fixed #25939 -- Removed redundant transaction in QuerySet.update_or_create().
There is no need to wrap the save() call in transaction.atomic() as
it's already done down the call stack in Model.save_base().
2015-12-14 19:41:11 -05:00
Sergey Fedoseev 5146e2cf98 Fixed #25662 -- Allowed creation of empty GEOS geometries. 2015-12-14 13:29:38 -05:00
Simon Charette 8035cee922 Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL.
Thanks to Trac aliases gerricom for the report, raphaelmerx for the
attempts to reproduce and Sergey Fedoseev and Tim for the review.

Refs #16891
2015-12-14 13:12:36 -05:00
Johannes Hoppe 5233b70070 Fixed #25725 -- Made HttpReponse immediately close objects. 2015-12-14 12:46:48 -05:00
Sergey Fedoseev a6c803a2e3 Fixed #25932 -- Made predicates of OGRGeometry return bool instead of int. 2015-12-14 11:30:36 -05:00
Anssi Kääriäinen cd0ba8053d Fixed #12885 -- Fixed queries with GenericRelations to multi-table inheritance child models. 2015-12-14 10:48:01 -05:00
Tim Graham 4cd24bb67c Fixed #25934 -- Added missing app_name in tutorial 4's urls.py. 2015-12-14 08:56:30 -05:00
Sergey Fedoseev 5005b527cb Fixed #25925 -- Forced LANG=C for test_msgfmt_error_including_non_ascii. 2015-12-13 16:33:31 +01:00
Claude Paroz ed20dd2e85 Fixed #25875 -- Prevented UnicodeDecodeError for Q object repr
Thanks Ben Kraft for the report, and Simon Charette for the review.
2015-12-13 15:07:17 +01:00
Iacopo Spalletti d693074d43 Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy().
Thanks to bmispelon and uruz for the initial patch.
2015-12-12 14:46:48 -05:00
Nicholas Chammas 93fc23b2d5 Simplified MANIFEST.in 2015-12-12 12:07:21 -05:00
Sergey Fedoseev ed7b1bdf01 Fixed #25926 -- Removed gis.utils.ogrinfo.sample backwards compatibility alias. 2015-12-12 12:00:24 -05:00
Sergey Fedoseev f7889b83b0 Fixed #25924 -- Removed gis.utils.srs.add_postgis_srs() backwards-compatibility alias. 2015-12-12 10:49:04 -05:00
Sergey Fedoseev d40a38b335 Unwrapped gdal.Envelope import from try-except as fail of `import ctypes` is not expected. 2015-12-12 09:52:59 -05:00
Tim Graham 10427646b8 Fixed #25909 -- Added unicode_literals import to apps.py generated by startapp. 2015-12-12 09:34:01 -05:00
Claude Paroz b0ad5081d5 Fixed #25717 -- Corrected Slovak local name 2015-12-12 09:18:06 +01:00
Tim Graham 030ee15850 Refs #25918 -- Fixed typo in 1.10 release notes. 2015-12-11 12:54:04 -05:00
Tim Graham 59f861fcb4 Fixed #25918 -- Removed unused LOGOUT_URL setting.
Thanks hop for the report and patch.
2015-12-11 12:43:02 -05:00
Bruno Alla ffcdb0b471 Fixed #25893 -- Corrected custom lookups example. 2015-12-11 08:44:17 -05:00
Tim Graham 738bda8a6f Refs #25899 -- Improved visibility of TEST database settings in testing docs. 2015-12-11 08:05:24 -05:00
Sergey Fedoseev 8ab58b8052 Fixed #25883 -- Fixed admin deletion page summary counts for related objects. 2015-12-10 18:09:03 -05:00
Dotan Agmon a44dc200d0 Fixed incorrect examples in ArrayField docs. 2015-12-10 17:48:38 -05:00
Federico Frenguelli 3a36c80795 Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField when using AlterField.
Thanks to Emanuele Palazzetti for the help.
2015-12-10 16:12:51 -05:00
Johannes Hoppe cf546e11ac Fixed #21221 -- Made form Media and static template tag use staticfiles if installed. 2015-12-10 14:30:19 -05:00
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