Commit Graph

24114 Commits

Author SHA1 Message Date
marton bognar 5b450b84e1 [1.11.x] Fixed #28361 -- Fixed possible time-related failure in was_published_recently() tutorial test.
Regression in 268a646353.

Backport of 8274160520 from master
2017-07-06 18:24:04 -04:00
Tim Graham 81febf4def [1.11.x] Fixed #28355 -- Fixed widget rendering of non-ASCII date/time formats on Python 2. 2017-07-06 07:41:57 -04:00
Claude Paroz 72026fff39 [1.11.x] Refs #21415 -- Fixed contrib.humanize translations for es_AR
Thanks Blas Castro for the report and the patch.
2017-07-05 08:39:39 +02:00
Tushar Malik 664f5708c8 [1.11.x] Added missing import in docs/topics/db/queries.txt.
Backport of 14251324e6 from master
2017-07-04 20:18:25 -04:00
Tim Graham eabd967726 [1.11.x] Added stub release notes for 1.11.4.
Backport of 2328f2faf8 from master
2017-07-01 19:41:25 -04:00
Tim Graham 6b94e212d3 [1.11.x] Post-release version bump. 2017-07-01 19:38:45 -04:00
Tim Graham e793a93bef [1.11.x] Bumped version for 1.11.3 release. 2017-07-01 19:15:04 -04:00
Tim Graham 40da4d0490 [1.11.x] Added release date for 1.11.3.
Backport of 25cce597d0 from master
2017-07-01 19:14:02 -04:00
Jon Dufresne 8641489f4d [1.11.x] Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().
field_for_model() now has an additional keyword argument,
apply_limit_choices_to, allowing it to continue to be used to create
form fields dynamically after ModelForm.__init__() is called.

Thanks Tim Graham for the review.

Backport of a1be12fe19 from master
2017-06-30 21:28:47 -04:00
Simon Charette c1621d8008 [1.11.x] Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with nonexistent field.
Thanks Tim for the review.

Backport of 5cbcb36839 from master
2017-06-30 13:12:33 -04:00
Mike Vasiliou a6756195c1 [1.11.x] Fixed #28294 -- Doc'd request/args/kwargs attributes of class-based views.
Backport of 63e9a71ec4 from master
2017-06-28 10:01:20 -04:00
Laura a84b555eb5 [1.11.x] Fixed #28336 -- Fixed typo in docs/ref/settings.txt.
Backport of e58c87cb70 from master
2017-06-27 21:42:39 -04:00
Sergey Fedoseev 812b24e98e [1.11.x] Fixed GEOSGeometry reference in GIS tutorial.
Backport of 964e490847 from master
2017-06-26 15:10:27 -04:00
Josh Schneier 7765d3ba9b [1.11.x] Fixed #28298 -- Prevented a primary key alteration from adding a foreign key constraint if db_constraint=False.
Backport of fba0eaa5d6 from master
2017-06-22 21:54:46 -04:00
Mariusz Felisiak d50e0e6553 [1.11.x] Simplified schema.tests with assertForeignKeyExists()/assertForeignKeyNotExists().
Backport of 663d1c3160 from master
2017-06-22 21:49:25 -04:00
aruseni 1de0da961e [1.11.x] Fixed typo in docs/ref/request-response.txt.
Backport of ad524980ac from master
2017-06-20 11:22:38 -04:00
Tim Graham a4c9eada2b [1.11.x] Fixed #28327 -- Removed contradictory description of mod_wsgi docs.
Backport of 2503ad5154 from master
2017-06-20 07:36:24 -04:00
François Freitag 712ce47e1a [1.11.x] Fixed #18485 -- Doc'd behavior of PostgreSQL when manually setting AutoField.
Backport of 4f1eb64ad0 from master
2017-06-19 09:25:32 -04:00
Tim Graham a3b1319d58 [1.11.x] Fixed #28176 -- Restored the uncasted option value in ChoiceWidget template context.
Backport of 221e6e1817 from master
2017-06-17 18:33:01 -04:00
Tim Graham f0ec88fb63 [1.11.x] Fixed #28303 -- Prevented localization of attribute values in the DTL attrs.html widget template.
Backport of 3b050fd0d0 from master
2017-06-17 17:16:08 -04:00
Claude Paroz 49de4f1541 [1.11.x] Refs #24423 -- Readded inadvertently deleted i18n tests.
Mistake in 97c1931c4f.

Backport of 357a6428980961b2c5311eb75d16229c7fc0d982 from master
2017-06-14 22:11:55 -04:00
Tim Graham f20168e873 [1.11.x] Fixed #28308 -- Doc'd removal of Select.render_option() (refs #15667).
Backport of f2b6986317 from master
2017-06-14 06:15:04 -04:00
Matthias Kestenholz a1c6c220e2 [1.11.x] Fixed #27434 -- Doc'd how to raise a model validation error for a field not in a model form.
Backport of e8c056c31a from master
2017-06-13 20:47:58 -04:00
Tim Graham 31d7fc8541 [1.11.x] Refs #23853 -- Updated sql.query.Query.join() docstring.
Follow up to ab89414f40.

Backport of 7acbe89cc2 from master
2017-06-13 14:17:45 -04:00
Mikhail Golubev 16431b03f8 [1.11.x] Fixed #28229 -- Fixed the value of LoginView's "next" template variable.
Backport of e7dc39fb65 from master
2017-06-13 09:19:11 -04:00
orf f908e9d015 [1.11.x] Fixed #28284 -- Prevented Paginator's unordered object list warning from evaluating a QuerySet.
Backport of a118287bca from master
2017-06-13 08:34:49 -04:00
Mariusz Felisiak 44e29ea1e9 [1.11.x] Fixed #28293 -- Fixed union(), intersection(), and difference() when combining with an EmptyQuerySet.
Thanks Jon Dufresne for the report and Tim Graham for the review.

Backport of 82175ead72 from master
2017-06-13 08:33:26 +02:00
Paulo 927d9b51fe [1.11.x] Fixed #27967 -- Fixed KeyError in admin's inline form with inherited non-editable pk.
Thanks Robin Anupol for the initial report and workaround.

Backport of 9dc83c356d from master
2017-06-12 21:22:53 -04:00
Tim Graham 7fb148a638 [1.11.x] Fixed #27655 -- Added some guidelines to the coding style docs.
Backport of c68f5d83c0 from master
2017-06-12 15:39:25 -04:00
Tim Graham 48ce204488 [1.11.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 0877989c94 from master
2017-06-09 12:48:46 -04:00
Tim Graham 109fd94c96 [1.11.x] Fixed typo in docs/ref/contrib/postgres/fields.txt.
Backport of 108ff788cb from master
2017-06-09 12:43:19 -04:00
Jon Dufresne ccb8297eee [1.11.x] Fixed #28282 -- Fixed class-based indexes name for models that only inherit Model.
Backport of 0c3c37a376 from master
2017-06-08 09:47:18 -04:00
Mads Jensen 319839d780 [1.11.x] Refs #25240 -- Added ExtractWeek examples.
Backport of 085c2f94ec from master
2017-06-08 09:17:01 -04:00
Tim Graham 288fd9b9e0 [1.11.x] Corrected FileExtensionValidator doc regarding the value being validated.
Backport of c01409c789 from master
2017-06-07 16:52:50 -04:00
Tim Graham 56e4a01b50 [1.11.x] Simplified tutorial's test names and docstrings.
Backport of 23825b2494 from master
2017-06-07 09:47:34 -04:00
Tim Graham bc9c6fe7cb [1.11.x] Fixed #28233 -- Used a simpler example in the aggregation "cheat sheet" docs.
Backport of 49b9c89d40 from master
2017-06-07 09:43:48 -04:00
kakulukia 992f143bad [1.11.x] Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget.
Backport of 525dc283a6 from master
2017-06-06 15:57:08 -04:00
Tim Graham 6ae60295d7 [1.11.x] Updated was_published_recently() tutorial test to check boundary condition.
Backport of 268a646353 from master
2017-06-06 12:17:16 -04:00
Tim Graham 8f7e6b55e5 [1.11.x] Fixed typo in docs/ref/class-based-views/mixins-single-object.txt.
Backport of fc13a697b4 from master
2017-06-06 11:27:18 -04:00
Paulo a0707947e4 [1.11.x] Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.
Backport of 4ad2f86284 from master
2017-06-06 08:18:08 -04:00
Windson yang b373812b0b [1.11.x] Fixed #28102 -- Doc'd how to compute path to built-in widget template directories.
Backport of 7f238097c0 from master
2017-06-05 17:27:05 -04:00
Paulo 834d57b4de [1.11.x] Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested reverse relation is in list_filter.
Backport of b7f99f84bc from master
2017-06-05 11:34:43 -04:00
Adam Johnson b7d6077517 [1.11.x] Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has an instance only descriptor.
Regression in d2a26c1a90.

Backport of ed244199c7 from master
2017-06-05 09:15:55 -04:00
Adam Johnson fa8346b9a9 [1.11.x] Added a test for Model._meta._property_names.
Backport of 36f09c8a29 from master
2017-06-05 09:05:53 -04:00
Tim Graham d6100b715d [1.11.x] Fixed typo in docs/ref/forms/fields.txt.
Backport of ecae9c7aec from master
2017-06-05 08:24:34 +02:00
Claude Paroz 81c3967e55 [1.11.x] Refs #28192 -- Fixed documentation of ChoiceField choices requirement
Thanks Tim Graham for noticing the issue.
Backport of 54caca2d34 from master.
2017-06-03 16:19:09 +02:00
Anupam 9a3bcaf46a [1.11.x] Fixed #28190 -- Clarifed how include/extends treat template names.
Backport of 1f2e4f9cfe from master
2017-06-03 08:11:41 -04:00
Philip James 34ea3d61af [1.11.x] Fixed #26028 -- Added overriding templates howto.
Backport of 7c9a833301 from master
2017-06-02 18:21:35 -04:00
Chris Lamb fa63fc91cc [1.11.x] Fixed #26755 -- Fixed test_middleware_classes_headers if Django source isn't writable.
Backport of 2ec56bb782 from master
2017-06-02 10:29:39 -04:00
Jon Dufresne 1940e3daef [1.11.x] Fixed #28265 -- Prevented renderer warning on Widget.render() with **kwargs.
Backport of 29a518006f from master
2017-06-02 09:52:53 -04:00