Tim Graham
4263cd0e09
Simplified comment in BooleanField.to_python().
2018-08-01 11:52:02 -04:00
Tim Graham
25dd595742
Added stub release notes for 2.1.1.
2018-08-01 11:13:37 -04:00
Tim Graham
0006538e53
Added CVE-2018-14574 to the security release archive.
2018-08-01 10:51:24 -04:00
Andreas Hug
a656a68127
Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware.
2018-08-01 09:28:42 -04:00
Tim Graham
7dbe7aa0b6
Added stub release notes for security releases.
2018-08-01 09:28:42 -04:00
Claude Paroz
287fef8693
Updated contrib translations from Transifex
...
Forwardport of cbf7e7dc52
from stable/2.1.x.
2018-08-01 09:24:06 -04:00
Claude Paroz
7b407c9e94
Updated core translations from Transifex
...
Forwardport of 734e2c65ae
from stable/2.1.x.
2018-08-01 09:23:55 -04:00
Adam Johnson
49f97b645f
Refs #24733 -- Documented arguments for custom error views.
2018-07-31 17:02:40 -04:00
Tim Graham
b4fa94aed8
Removed code terms from docs/spelling_wordlist.
2018-07-31 12:22:28 -04:00
Tim Graham
8edb27b6c6
Added words to docs/spelling_wordlist for Ubuntu 18.04.
2018-07-31 12:22:25 -04:00
Dražen Odobašić
9f3b9ffd51
Fixed #29617 -- Fixed Template crash if template_string is lazy.
...
Regression in 3a148f958d
.
2018-07-31 09:57:11 -04:00
Tom Forbes
4198445afc
Refs #29548 -- Fixed failing window tests on MariaDB 10.3.
2018-07-30 19:54:56 -04:00
Demur Nodia
06a11ef6ec
Fixed #26819 -- Fixed BaseModelFormSet.validate_unique() "unhashable type: list" crash.
2018-07-30 16:52:12 -04:00
Demur Nodia
c090ea97c1
Fixed nonexistent field reference in test model __str__() method.
2018-07-30 16:14:57 -04:00
Sławek Ehlert
c6238bf02b
Fixed #29467 -- Made override_settings handle errors in setting_changed signal receivers.
2018-07-30 15:59:37 -04:00
Hasan Ramezani
cebbcaa1ba
Moved yesno filter test to its file.
2018-07-27 17:15:00 -04:00
Melvyn Sopacua
e7a56eb4f0
Fixed #28659 -- Fixed LayerMapping crash with null geometry and unique.
2018-07-27 16:38:28 -04:00
Tim Graham
c72dde41e6
Fixed #29595 -- Allowed using timedelta in migrations questioner.
...
Refs #29600 -- Removed usage of django.utils.datetime_safe in migrations.
2018-07-27 11:53:49 -04:00
vinay karanam
3af695eda2
Fixed #28291 , #24726 -- Fixed ArrayField with JSONField and RangeFields.
2018-07-27 11:35:54 -04:00
Thomas Grainger
69eb70456b
Fixed typo in ContentFile docstring.
2018-07-27 10:58:08 -04:00
Tim Graham
013d439ff0
Refs #29600 -- Added test for datetime_safe usage in localize_input().
2018-07-26 16:51:50 -04:00
Tim Graham
76852c3989
Refs #29600 -- Added test for datetime_safe usage in SelectDateWidget.value_from_datadict().
2018-07-26 16:51:40 -04:00
Tim Graham
2ac7cd52b4
Refs #29600 -- Removed datetime_safe usage in feedgenerator.
...
The only effect would be if items in Atom feeds had a published date
year of < 1000 (ensuring those years are padded with leading zeros).
2018-07-26 16:49:15 -04:00
Carlton Gibson
5180015051
Fixed #29593 -- Added QUERY_TERMS removal to 2.1 release notes.
...
Removed in 244cc40155
.
2018-07-26 10:42:33 -04:00
Carlton Gibson
a67ebcb1cb
Refs #29593 , #26891 -- Doc'd RegisterLookupMixin.get_lookups().
2018-07-26 10:42:33 -04:00
Carlton Gibson
1c05fe65f2
Refs #13091 -- Added test for commit=False idiom with partial unique_together validation.
2018-07-25 18:39:35 -04:00
Andrew Brown
c0e3c65b9d
Fixed #29563 -- Added result streaming for QuerySet.iterator() on SQLite.
2018-07-25 18:08:57 -04:00
Andrew Brown
55810d94d0
Refs #29563 -- Fixed SQLCompiler.execute_sql() to respect DatabaseFeatures.can_use_chunked_reads.
2018-07-25 18:08:57 -04:00
Tim Graham
4523beebb2
Corrected location of prenotfication email list.
2018-07-25 16:24:40 -04:00
Simon Charette
dc1dcad0f5
Refs #24424 -- Added regression tests for MTI-inheritance model removal.
...
The issue was fixed as a side effect of implementing RemoveField's reduction
of DeleteModel to a DeleteModel in ad82900ad9
.
2018-07-25 12:07:41 -04:00
Mariusz Felisiak
ac25dd1f8d
Fixed #29569 -- Fixed Cast() with AutoField and BigAutoField.
2018-07-25 08:00:11 +02:00
minusf
6429961418
Fixed typo in docs/topics/http/urls.txt.
2018-07-24 18:35:58 -04:00
Tim Graham
cef8f6a61b
Fixed #29591 -- Fixed numbering words in docs/topics/db/examples/many_to_many.txt.
2018-07-24 16:02:35 -04:00
Claude Paroz
2a74ceb5f3
Fixed #24336 -- Made django.conf.urls.static() ignore all absolute URLs
2018-07-24 09:32:33 +02:00
Tim Bell
cdcf4164be
Fixed #29528 -- Made URLValidator reject invalid characters in the username and password.
2018-07-23 10:30:01 -04:00
Mariusz Felisiak
5a017eef4c
Fixed test_migrate_syncdb_deferred_sql_executed_with_schemaeditor() on Oracle.
2018-07-22 08:47:55 +02:00
Simon Charette
1a28dc3887
Fixed #29582 -- Fixed a crash when using SearchVector with non text-fields.
...
The PostgreSQL concat() function handles nulls and non-text values better than
the || operator.
2018-07-21 21:32:21 -04:00
Thng Kai Yuan
71a739f3d7
Fixed #29576 -- Corrected the test client's HTTP_COOKIE header.
2018-07-21 18:14:39 -04:00
Tim Graham
8d4ab0c41f
Added tests for migrate logging and error messages.
2018-07-20 20:37:52 -04:00
Tim Graham
1564195010
Improved inspectdb readability with namedtuple attributes.
2018-07-20 19:58:16 -04:00
Tim Graham
45808895c0
Refs #23919 -- Removed obsolete u-prefix stripping in inspectdb.
2018-07-20 18:23:30 -04:00
Claude Paroz
ba83378a77
Fixed #29523 -- Removed jQuery usage in DateTimeShortcuts.js & collapse.js.
2018-07-20 12:27:53 -04:00
Claude Paroz
9bcbda43dc
Added test for DateTimeShortcuts.js time zone warning.
2018-07-20 11:13:45 -04:00
Claude Paroz
b004bd62e8
Fixed #29412 -- Stopped marking slugify() result as HTML safe.
2018-07-20 10:44:30 -04:00
François Dupayrat
861638a307
Fixed #29568 -- Prevented unnecessary UPDATE queries creating child models.
2018-07-20 08:59:15 -04:00
Claude Paroz
65503ca097
Fixed #29040 -- Made test database creation messages use a consistent output stream.
2018-07-19 18:05:33 -04:00
Simon Charette
1e9b02a4c2
Refs #28862 -- Removed the FieldRelatedOptionOperation.reduce() optimization.
...
It isn't required anymore since AlterTogetherOperations can be reduced into
CreateModels which can reduce DeleteField operations.
2018-07-19 17:42:18 -04:00
Simon Charette
fc16015de4
Fixed #26906 -- Reduced alter together operations code duplication.
...
Thanks Akshesh Doshi for the initial patch.
2018-07-19 17:06:01 -04:00
Simon Charette
8e3f22f251
Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction.
...
This should alleviate the side effects of disabling the AlterFooOperation
reduction with RemoveField to fix refs #28862 during migration squashing
because CreateModel can perform a reduction with RemoveField.
Thanks Nick Pope for the review.
2018-07-19 17:06:01 -04:00
Simon Charette
ed7898e1b5
Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField.
...
AlterFooTogether operations cannot be swapped with RemoveField operations on
the same model as they could be removing the the same field as well.
Since AlterFooTogether operations don't track what their previous value was,
it's impossible to determine whether or not the optimization is safe so the
only way to proceed is to disable the optimization.
Thanks Ramiro Morales for the in-depth analysis of the issue.
Refs #24828
2018-07-19 17:06:01 -04:00