1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00

2629 Commits

Author SHA1 Message Date
caleb logan
3bb03df0fc [1.11.x] Fixed #28530 -- Prevented SelectDateWidget from localizing years in output.
Backport of 9e2bf65d6a5dc3b53db84f4839652f0d154349ee from master
2017-08-29 14:56:23 -04:00
Mads Jensen
c685b8f838 [1.11.x] Refs #25809 -- Omitted pages_per_range from BrinIndex.deconstruct() if it's None.
Backport of fb42d0247136249ea81962474e9a6a2faf1755f1 from master
2017-08-26 10:14:20 -04:00
hui shang
58aaf13e75 [1.11.x] Fixed #28513 -- Added POST request support to LogoutView.
Backport of c0f4c60edd429f5ef57241cfabd159d13e26e5ac from master
2017-08-24 09:11:34 -04:00
Mariusz Felisiak
0d21bdd380 [1.11.x] Fixed #28498 -- Added support for cx_Oracle 6.
- Fixed implicit Decimal to float conversion when input_size is not
specified for Decimal parameters.
- Used encoding, nencoding parameters of cx_Oracle.connect() to support
unicode in DSN.

Thanks Tim Graham for the review.
2017-08-23 10:01:49 +02:00
Mariusz Felisiak
e6dd785bb7 [1.11.x] Fixed typo in docs/releases/1.11.5.txt.
Backport of 330e965cd8d70eb3c169d655aaa88f7f915adb1a from master
2017-08-23 08:57:32 +02:00
Kevin Grinberg
90be8cf2a4 [1.11.x] Fixed #28451 -- Restored pre-Django 1.11 Oracle sequence/trigger naming.
Regression in 69b7d4b116e3b70b250c77829e11038d5d55c2a8.

Backport of c6a3546093bebae8225a2c5b7e0836a2b0617ee5 from master
2017-08-22 17:41:25 -04:00
Claude Paroz
dd82f1df55 [1.11.x] Fixed #28502 -- Made stringformat template filter accept tuples.
Backport of 4ead705cb3cf04bb7551ac037d1e11f682b62bcf and
ed77bea58274e11e5a9e4c8b9650f50deb8a2b26 from master
2017-08-22 08:57:50 -04:00
Berker Peksag
be24b5eaa5 [1.11.x] Removed redundant backticks in docs/releases/1.8.txt
Backport of 8d095c6378666e6d5f6cabc9e485c9db2618ff88 from master.
2017-08-21 09:17:05 +02:00
Mariusz Felisiak
07e34f8bca [1.11.x] Fixed #28498 -- Fixed test database creation with cx_Oracle 6.
Backport of 6784383e93d582f43f8cb5f7647a05645cbb339b from master
2017-08-16 18:42:41 +02:00
Tim Graham
bca1ffc87a [1.11.x] Fixed #27855 -- Updated docs for Python 3.4 support in Django 2.0.
Backport of abd723c6a010be1bc06687d21e8841e07af6fde3 from master
2017-08-11 11:18:09 -04:00
Tim Graham
a49764dd9d [1.11.x] Fixed #28441 -- Fixed GEOS version parsing with a commit hash at the end.
A less invasive backport of 78c155cf2e5a27fd2db18c2d46953b1b0fdba829
from master
2017-08-02 09:46:52 -04:00
Tim Graham
2ec74bfcac [1.11.x] Added stub release notes for 1.11.5.
Backport of 53d2534b3813f46f373bbf751ac3baf21c50d405 from master
2017-08-01 08:47:19 -04:00
Tim Graham
318414ca70 [1.11.x] Added release date for 1.11.4.
Backport of 4c68ef9136c9c32e58ce0273a4e026f17140e2fc from master
2017-08-01 08:09:02 -04:00
Tim Graham
020c1c4cc8 [1.11.x] Fixed #28415 -- Clarified what characters ASCII/UnicodeUsernameValidator accept.
Backport of 14172cf4426de6c867028f1c194011c0a26e662d from master
2017-07-27 08:45:59 -04:00
Rachel Tobin
801b6fb32e [1.11.x] Fixed #28418 -- Fixed queryset crash when using a GenericRelation to a proxy model.
Backport of f9e5f9ae9f83c7ddf5e5d3c369b6bf54a9b80ab5 from master
2017-07-21 18:26:03 -04:00
Roman Selivanov
99d5059d76 [1.11.x] Fixed #28414 -- Fixed ClearableFileInput rendering as a subwidget of MultiWidget.
Backport of d4da39685b5974849c73e4c4dc6e07dfdf21c67a from master
2017-07-19 14:45:59 -04:00
Florian Apolloner
9350f77c69 [1.11.x] Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), and intersection() queries.
Backport of adab280cefb15659c39558ac26ea392b0a1e456c from master
2017-07-15 09:10:42 -04:00
Srinivas Reddy Thatiparthy
a3b5df8ed5 [1.11.x] Fixed #28387 -- Fixed has_changed() for disabled form fields that subclass it.
Backport of 5debbdfcc84266703191e084914998e38f5f52eb from master
2017-07-14 13:27:30 -04:00
Mark Rogaski
fc6b90bdb7 [1.11.x] Fixed #28174 -- Fixed crash in runserver's autoreload with Python 2 on Windows with non-str environment variables. 2017-07-13 13:12:29 -04:00
Sergey Fedoseev
30f334cc58 [1.11.x] Fixed #28389 -- Fixed pickling of LazyObject on Python 2 when wrapped object doesn't have __reduce__().
Partial revert of 35355a4ffedb2aeed52d5fe3034380ffc6a438db.
2017-07-12 09:11:48 -04:00
Mariusz Felisiak
346b46a274 [1.11.x] Fixed #28378 -- Fixed union() and difference() when combining with a queryset raising EmptyResultSet.
Thanks Jon Dufresne for the report. Thanks Tim Graham and Simon Charette
for the reviews.

Backport of ca74e563500e291480f1976b58fcd34aac768dca from master
2017-07-10 20:50:50 +02: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
Tim Graham
eabd967726 [1.11.x] Added stub release notes for 1.11.4.
Backport of 2328f2faf8536704662155fc94c06ca0d13e82ac from master
2017-07-01 19:41:25 -04:00
Tim Graham
40da4d0490 [1.11.x] Added release date for 1.11.3.
Backport of 25cce597d0b8a6a26149932507ff1597d4ac7e7b 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 a1be12fe193c8f3de8a0b0820f460a302472375f 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 5cbcb3683964205ce023157ca181d05a31be2ab5 from master
2017-06-30 13:12:33 -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 fba0eaa5d60603721d7b4653e3efacbfb3613bd2 from master
2017-06-22 21:54:46 -04:00
Tim Graham
a3b1319d58 [1.11.x] Fixed #28176 -- Restored the uncasted option value in ChoiceWidget template context.
Backport of 221e6e18177516ac4ac95e40c344b93d14dd607b 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 3b050fd0d0b8dbf499bdb44ce12fa926298c0bd0 from master
2017-06-17 17:16:08 -04:00
Tim Graham
f20168e873 [1.11.x] Fixed #28308 -- Doc'd removal of Select.render_option() (refs #15667).
Backport of f2b698631719c6df082a627b6f7ddf2d7f9fa751 from master
2017-06-14 06:15:04 -04:00
Mikhail Golubev
16431b03f8 [1.11.x] Fixed #28229 -- Fixed the value of LoginView's "next" template variable.
Backport of e7dc39fb65e51d7613c941f7e5768b621dea4e76 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 a118287bca65f2e5da110c89509941c677ebc2e1 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 82175ead723f8fa3f9271fbd4b24275097029aab 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 9dc83c356d363c090f3351c908cad6f823aeb7bf from master
2017-06-12 21:22:53 -04:00
Jon Dufresne
ccb8297eee [1.11.x] Fixed #28282 -- Fixed class-based indexes name for models that only inherit Model.
Backport of 0c3c37a376bac149fe7e7e4b2696f8fb7990e2ab from master
2017-06-08 09:47:18 -04:00
kakulukia
992f143bad [1.11.x] Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget.
Backport of 525dc283a68c0d47f5eb2192cc4a20111d561ae0 from master
2017-06-06 15:57:08 -04:00
Paulo
a0707947e4 [1.11.x] Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.
Backport of 4ad2f862844d35404e4798b3227517625210a72e from master
2017-06-06 08:18:08 -04:00
Paulo
834d57b4de [1.11.x] Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested reverse relation is in list_filter.
Backport of b7f99f84bcc4a06114ac31174840efab0aef7602 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 d2a26c1a90e837777dabdf3d67ceec4d2a70fb86.

Backport of ed244199c72f5bbf33ab4547e06e69873d7271d0 from master
2017-06-05 09:15:55 -04:00
Jon Dufresne
1940e3daef [1.11.x] Fixed #28265 -- Prevented renderer warning on Widget.render() with **kwargs.
Backport of 29a518006f7f96186483fa50e249e1c3f21728d5 from master
2017-06-02 09:52:53 -04:00
Tim Graham
2134090e79 [1.11.x] Added stub release notes for 1.11.3.
Backport of 4ef093b0b485ff425590ffb49bee62c21e5264e9 from master
2017-06-01 12:55:12 -04:00
Tim Graham
78975c453b [1.11.x] Added release date for 1.11.2.
Backport of 162778b8e2fecfe6171eba09a7f0606b61ad3403 from master
2017-06-01 11:11:48 -04:00
Manatsawin Hanmongkolchai
110bd82038 [1.11.x] Fixed #28242 -- Moved ImageField file extension validation to the form field.
Backport of a0c07d77fc313388c72a17cd59411265069f037f from master
2017-06-01 10:44:47 -04:00
Claude Paroz
02158a785e [1.11.x] Updated translations from Transifex 2017-05-31 21:42:51 +02:00
Derrick Jackson
7250393f31 [1.11.x] Fixed #28170 -- Fixed file_move_safe() crash when moving files to a CIFS mount.
Backport of 789c290150a0a5e7312e152df281dbcaf4ec174e from master
2017-05-31 15:02:32 -04:00
Robert Rollins
877d7b71ae [1.11.x] Fixed #28212 -- Allowed customizing the port that LiveServerTestCase uses. 2017-05-30 18:06:58 -04:00
Adit Biswas
4e675999d5 [1.11.x] Fixed #28209 -- Made date-based generic views return a 404 rather than crash when given an out of range date.
Backport of c2eea61dff44b16caab04928d582b856c2b8b615 from master
2017-05-30 13:32:20 -04:00
Tim Graham
4112bce442 [1.11.x] Refs #28181 -- Corrected detection of GDAL 2.1 on Windows.
Follow up to a404f75f92971634c76330f3742261d33ccecca1.

Backport of c32476e5ba2f1c18758cfcffc857fa4eab37e816 from master
2017-05-30 09:42:16 -04:00
Tim Graham
9b9a81024a [1.11.x] Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST.
Thanks Simon Charette for the fix.

Backport of f04495521ade8a2befc1aca70dd0a2c7aad4c987 from master
2017-05-30 06:41:50 -04:00
Tim Graham
c341803315 [1.11.x] Fixed #28204 -- Fixed MultipleObjectMixin.paginate_queryset() crash on Python 2 if InvalidPage message contains non-ASCII. 2017-05-29 09:51:16 -04:00