1
0
mirror of https://github.com/django/django.git synced 2025-03-25 08:40:45 +00:00

23840 Commits

Author SHA1 Message Date
Mariusz Felisiak
87775b64cd [1.11.x] Fixed -- Fixed truncate_name() when the name contains a username.
Backport of b9351905721771fb49ea0020c751ae4280754c43 from master
2017-02-17 09:44:36 -05:00
Mariusz Felisiak
a66f448f11 [1.11.x] Added tests for db.backends.utils.truncate_name().
Backport of 1f7ca858664491589ba400419a491dd0a9af5dff from master
2017-02-17 09:30:32 -05:00
Vytis Banaitis
eedf276ed1 [1.11.x] Fixed -- Fixed a crash when subtracting Integer/DurationField from DateField on Oracle/PostgreSQL.
Backport of d5088f838d837fc9e3109c828f18511055f20bea from master
2017-02-16 12:35:40 -05:00
Tim Graham
4f0185aac3 [1.11.x] Clarified that creating a pull request for the tutorial isn't necessary.
Backport of 57292725093eb470851b35174c10573bbf717117 from master
2017-02-16 11:34:21 -05:00
Tim Graham
2f6cdc09c4 [1.11.x] Fixed -- Made index introspection return Index.suffix.
Backport of b008f7cc5655d01817a8825e6317877b43c92181 from master
2017-02-15 21:07:53 -05:00
Joon Hwan 김준환
197a2cd487 [1.11.x] Made a sentence in default_if_none docs consistent with other template filters.
Backport of a7214f0e84913a27e0b73de89d4c827ef1c53b94 from master
2017-02-15 08:42:24 -05:00
Tim Graham
2b8a345996 [1.11.x] Removed docs/internals/roles.txt.
It's moved to https://www.djangoproject.com/foundation/teams/.

Backport of 3d14cbc86781ea1051af7f0c421bee3ecf2f9842 from master
2017-02-15 08:32:48 -05:00
Markus Holtermann
f5ff5be2c1
[1.11.x] Fixed -- Fixed KeyError in PasswordResetConfirmView.form_valid().
When a user is already logged in when submitting the password and
password confirmation to reset a password, a KeyError occurred while
removing the reset session token from the session.

Refs 

Thanks Quentin Marlats for the report and Florian Apolloner and Tim
Graham for the review.
2017-02-15 00:38:57 +01:00
Tim Graham
da2e92d25e [1.11.x] Fixed GeoIP test failure with the latest data. 2017-02-14 09:08:17 -05:00
Tim Graham
8bf9967e7b [1.11.x] Fixed -- Updated mod_wsgi example to use WSGIPythonHome.
Backport of 103e6cf26c17ae650b7caa3956b87a215334d761 from master
2017-02-13 19:52:33 -05:00
amalia
b54fff2938 [1.11.x] Fixed -- Fixed RequestDataTooBig/TooManyFieldsSent crash.
Backport of 2f10216f84b55920de25422842a66260219e393f from master
2017-02-13 16:43:23 -05:00
Robert Roskam
c091614450 [1.11.x] Fixed -- Doc'd and tested reversing of URLs with the same name.
Thanks Reinout van Rees for contributing to the patch.

Backport of 98bcc5d81bca578f3a5b4d47907ba4ac40446887 from master
2017-02-11 09:02:30 -05:00
Mads Jensen
ded0632d94 [1.11.x] Refs -- Added CIText mixin and CIChar/Email/TextField.
Backport of fb5bd38e3b83c7f0d1011de80f922fc34faf740b from master
2017-02-11 07:16:58 -05:00
Tim Graham
9658f0d266 [1.11.x] Fixed -- Reallowed using django.Template in {% include %}.
Backport of fe2d2884345e1e6a1daadd76e9404c62791ab589 from master
2017-02-11 06:52:14 -05:00
Tim Graham
eeb28f4751 [1.11.x] Fixed -- Reverted "Fixed -- Serialized natural keys in multi-table inheritance models."
This reverts commit 74a575eb7296fb04e1fc2bd4e3f68dee3c66ee0a as it causes
unexpected migrations and doesn't seem to be the best solution.

Backport of 0595bca221825c0c6bd572a32f3bf9eff7069328 from master
2017-02-11 06:40:30 -05:00
Claude Paroz
ad0b22d730 [1.11.x] Removed WSGIServer.server_bind() identical to parent version
The method customization was removed in 2ca00faa9137.
Backport of d4b00c5c24b72f7b0f22f1f9a69c48fc11bf4ab8 from master.
2017-02-11 11:20:17 +01:00
ClairePhila
4101b57b19 [1.11.x] Refs -- Fixed UUIDField.to_python(None) crash.
Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89.

Backport of d26413113c1a5c95218fe4e43a684a2fe1ad1bff from master
2017-02-10 14:34:14 -05:00
Tim Graham
0c21c49068 [1.11.x] Explained the shell's $ prefix in tutorial 1.
Thanks Luke Sneeringer for the suggestion.

Backport of ad36e5480d6cafb4031e8eb0bacc3a07d2fe4609 from master
2017-02-09 09:34:48 -05:00
Tim Graham
ac7a186c34 [1.11.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 545a88fc162ab02f66812284af24a248deafbf5e from master
2017-02-08 12:34:37 -05:00
Tim Graham
638bab2cab [1.11.x] Fixed -- Clarified docs of the return value of Form.clean_<fieldname>().
Thanks Christian Ullrich for the report and review.

Backport of 8863c475c53f2b44113f25b749a124a5bf3a02f2 from master
2017-02-08 08:39:32 -05:00
Tim Graham
035c3a71dd [1.11.x] Fixed -- Removed an inaccurate sentence about Paginator.orphans.
Backport of 27793431cf21a82809c0c39a7c0188a2d83bf475 from master
2017-02-07 14:15:31 -05:00
Zoltan Gyarmati
f94e1a5de4 [1.11.x] Fixed -- Made LoginView pass the request kwarg to AuthenticationForm.
Backport of 41ba27fefdd313333d94408802afff36a9eedb83 from master
2017-02-07 09:42:21 -05:00
Atul Varma
8a60e3d3fd [1.11.x] Fixed typo in docs/releases/1.11.txt.
Backport of 10c47f7b47c3b58eda579918d8381a066d43e788 from master
2017-02-07 07:50:02 -05:00
Tim Graham
2b17e4770b [1.11.x] Fixed -- Fixed ClearableFileInput's "Clear" checkbox on model fields with a default.
Backport of 4353640ea9495d58fabd0357253b82de3b069408 from master
2017-02-06 20:55:47 -05:00
Jon Dufresne
f14899412d [1.11.x] Fixed running TransactionsPerRequestTests in isolation.
Caused by `contrib/auth/backends.py` changes in
cb7bbf97a74fa7800865e3615f196ad65dc4f281.

Backport of 3f62d20a9b17c84ba04e0b0c45eff3e596d05dd8 from master
2017-02-04 14:20:10 -05:00
David Sanders
fe86a785a1 [1.11.x] Fixed -- Isolated TestCollectionHashedFilesCache in a tmpdir.
Backport of 8e3f9d3ee20fdadef6f2a28c71fb7e142b415059 from master
2017-02-03 19:10:19 -05:00
Tim Graham
bc95e6a0bf [1.11.x] Removed ExceptionReporter support for string exceptions.
Reverted refs  since raising string exceptions is prohibited
since Python 2.5.

Backport of 0205e04ce7a554a7b9b27b412288cc6a0e75e48f from master
2017-02-01 19:48:27 -05:00
Lex Berezhny
d43f847847 [1.11.x] Fixed -- Fixed QuerySet.annotate(Length(...)).distinct() crash.
Backport of ac5f886c5610a6bca26dab10170b445d1e9df450 from master
2017-01-31 18:46:07 -05:00
Daniel Wiesmann
8afe790df9 [1.11.x] Refs -- Documented GDALRaster creation in detail.
Backport of ed3215ad53c0b22c58883f97286a878c577e25d6 from master
2017-01-31 11:34:15 -05:00
Jon Dufresne
52e9c1c8b7 [1.11.x] Fixed -- Reallowed AdvancedModelIterator pattern after template widget rendering.
Backport of 6d8979f4c2fbfb9fd5db92acd72489cbbcbdd5d1 from master
2017-01-31 09:43:31 -05:00
Tim Graham
e2b19e70c7 [1.11.x] Fixed typo in django/db/migrations/operations/special.py. 2017-01-31 08:05:15 -05:00
Shai Berger
437e0ba533 [1.11.x] Fixed -- Fixed squashmigrations crash with RunPython.noop on Python 2.
Thanks Adam Johnson for review.
2017-01-31 08:02:18 -05:00
Ryan Castner
76a99f1b9a [1.11.x] Added missing word in docs/howto/error-reporting.txt.
Backport of dbf79c5acf962a977e1498e3aab588256e7e7af8 from master
2017-01-30 15:39:34 -05:00
Arkadiusz Adamski
f11c0008bc [1.11.x] Fixed incorrect namespace in sitemap example.
Backport of 274ca999825bb782bbbddd769783cf2aa91de7f9 from master
2017-01-30 12:07:28 -05:00
Subhrajyoti Sen
b183abfc8d [1.11.x] Fixed -- Updated the contributing tutorial to use a GitHub workflow.
Backport of f5bf11c72b267d717dd4379ec80f9f7c5185f80f from master
2017-01-28 12:58:17 -05:00
Tim Graham
aa52e8b77b [1.11.x] Refs -- Reverted "Removed available_apps on TestCase subclasses."
This reverts commit 91023d79ec70df9289271e63a67675ee51e7dea8 as it
increases memory usage for the test suite.

Backport of 7d50d2bcb8a3cf3fea727174717ead7e6508e9e2 from master
2017-01-28 10:14:11 -05:00
Srinivas Reddy Thatiparthy
f706576adf [1.11.x] Removed obsolete sentence in ManagementUtility docstring.
Backport of a6755b29e9335723c9347a36d4000a3157b05441 from master
2017-01-28 08:10:07 -05:00
Andrew Nester
33ff4e4e58 [1.11.x] Fixed -- Documented option naming differences between django-admin and call_command().
Backport of c8d21f335113dcf6009d7aa9810d4e77dc58c75d from master
2017-01-27 17:21:41 -05:00
andrewnester
d9f2887645 [1.11.x] Fixed -- Warned that the template system isn't safe against untrusted authors.
Backport of d2e40dd8c2031cd03700e72d87d455d5e974800c from master
2017-01-27 11:29:55 -05:00
chillaranand
a364fb3810 [1.11.x] Fixed -- Documented lazy evaluation of ModelChoiceField.queryset.
Backport of d9aeee205d93b12c96da449c64c1f17ca8786086 from master
2017-01-26 18:58:43 -05:00
Mariusz Felisiak
092f09fcc1 [1.11.x] Fixed -- Made simplify_regex() remove outstanding '?' characters.
Regression in f0ef0c49e9284f262fbc63e8a497699ca4a248fe.

Backport of c37ec5a6595f963a04fae1b17858225c2b3d08c4 from master
2017-01-26 18:36:54 -05:00
Tim Graham
7dda48bf18 [1.11.x] Refs -- Fixed staticfiles_tests.test_views when run in isolation.
Backport of 11856ea44e4dd1ff2358c559c0d04ac848832c23 from master
2017-01-25 13:53:59 -05:00
Ed Morley
15967d5e4a [1.11.x] Simplified tests with assertDoesNotOptimize().
Backport of bfd42392ab8db3942b2cbb36a94af3b48813de13 from master
2017-01-25 13:53:05 -05:00
Tim Graham
9194df2f55 [1.11.x] Corrected http.multipartparser.exhaust() docstring.
MultiPartParserError was removed in
ebf34c3cdcd2c75349c60a064427ac255958bf9b.

Backport of 90db4bb0d72e4731052bd33500840fff00834768 from master
2017-01-25 13:40:17 -05:00
Tim Graham
ec0af19f4c [1.11.x] Bumped MySQLdb version requirement to 1.2.3.
Older versions don't support Python 2.7.

Partial backport of 2d96c027f5eb32c2c09bd57df2240ae1d343b98e from master
2017-01-25 10:31:24 -05:00
Mads Jensen
c94cb4f865 [1.11.x] Removed unused variables that are overwritten.
Backport of ebf34c3cdcd2c75349c60a064427ac255958bf9b from master
2017-01-25 09:15:36 -05:00
Paolo Melchiorre
a69fc396e4 [1.11.x] Fixed typo in docs/ref/models/expressions.txt.
Backport of 5890d6ab03ebc7dac46ce7d9540b5768785caa34 from master
2017-01-25 07:46:37 -05:00
Nick Mavrakis
fb55247d59 [1.11.x] Fixed -- Prevented admin's "+" button icon from overlapping its label.
Backport of e5c2e43cc832028a974399af07a1c3ba6afa2467 from master
2017-01-23 19:25:02 -05:00
Jon Dufresne
783afda70a [1.11.x] Replaced dict() usage with dict literals.
Literals are faster and more idiomatic.

Backport of 0d74c41981687598d3fa0a7eb9712ce4c387ca19 from master
2017-01-23 19:14:43 -05:00
Jon Dufresne
706b30fc37 [1.11.x] Replaced "not var is ..." with "is not" in attrs.html.
Backport of f0573aad4befcea969c73fa5f9a624ac22603164 from master
2017-01-23 13:14:41 -05:00