Jonatas CD
02ac92888e
[1.10.x] Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter().
...
Backport of b28c6ca763 from master
2016-11-17 12:39:56 -05:00
Simon Charette
b495d8e334
[1.10.x] Fixed #27407 -- Made Model.delete(keep_parents=True) preserve parent reverse relationships.
...
Thanks Tim for the review.
Backport of 31a56e30cf from master
2016-11-15 20:50:41 -05:00
Joseph Kahn
7fd379719a
[1.10.x] Fixed #27461 -- Fixed incorrect allow_migrate() arguments in makemigrations.
...
Backport of 373c6c409c from master
2016-11-09 10:27:33 -05:00
Tim Graham
884e113838
[1.10.x] Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True.
...
This is a security fix.
2016-11-01 09:36:44 -04:00
Andrew Nester
acacf54fa1
[1.10.x] Fixed #27363 -- Replaced unsafe redirect in SessionMiddleware with SuspiciousOperation.
...
Backport of 1ce04bcce0 from master
2016-11-01 07:18:06 -04:00
Krzysztof Urbaniak
a7dabe4216
[1.10.x] Fixed #27063 -- Prevented i18n_patterns() from using too much of the URL as the language.
...
Backport of a01d887a3a from master
2016-10-31 14:33:42 -04:00
Krzysztof Urbaniak
62c9894b34
[1.10.x] Added additional tests for translation's get_language_from_path().
...
Backport of ee06689878 from master
2016-10-31 14:33:29 -04:00
Tim Graham
df66aee856
[1.10.x] Updated "running the tests" to use 'pip install -e'.
...
Backport of d84ffcc22b from master
2016-10-27 08:44:10 -04:00
David Barragán Merino
736f7e7ed7
[1.10.x] Fixed #27385 -- Fixed QuerySet.bulk_create() on PostgreSQL when the number of objects is a multiple plus one of batch_size.
...
Backport of b3bd3aa07c from master
2016-10-25 19:22:33 -04:00
Alvin Lindstam
3a416e4ba9
[1.10.x] Fixed #27374 -- Made JavaScriptCatalog respect the packages argument.
...
Backport of 6b5106b1ce from master
2016-10-24 10:26:16 -04:00
Tim Graham
91cc5fd4cc
[1.10.x] Fixed #27200 -- Provided makemigration's allow_migrate() with model_name.
...
Backport of cd09524f27 from master
2016-10-13 11:42:56 -04:00
Tim Graham
fba2c16a6f
[1.10.x] Fixed nonexistent tmc.edu domain in GeoIP test.
...
The test was silently skipped.
Backport of e1f6eba033 from master
2016-10-11 19:40:34 -04:00
Simon Charette
b12228759c
[1.10.x] Fixed #27279 -- Fixed a migration performance regression related to RenameModel operations.
...
Thanks Trac alias mtomiyoshi for the report, Marten Kenbeek for the initial
patch and Tim for the review.
Backport of 040bd7c938 from master
2016-10-04 08:46:13 -04:00
Reto Aebersold
c473235bf6
[1.10.x] Fixed #27309 -- Added CallableBool.__hash__().
...
Backport of 3ab55c1a8a from master
2016-10-04 07:44:39 -04:00
Claude Paroz
062b8ba37e
[1.10.x] Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed field detection
...
Thanks Ramiro Morales for the report and Tim Graham for the review.
Backport of 67eee5e4fa from master.
2016-10-01 20:16:41 +02:00
Tim Graham
bade924c03
[1.10.x] Confirmed support for PostGIS 2.3.
...
Backport of 79c91070e5 from master
2016-10-01 09:12:53 -04:00
Tim Graham
f23c03ebc8
[1.10.x] Refs #27186 -- Fixed model form default fallback for CheckboxSelectMultiple.
...
Backport of 87c5e7efeb from master
2016-09-30 14:50:15 -04:00
Berker Peksag
a9fefd26dc
[1.10.x] Fixed #27053 -- Documented contrib.auth.get_user().
...
Backport of f7e91cac68 from master
2016-09-27 10:42:46 -04:00
Sergey Fursov
bcdd13de93
[1.10.x] Fixed #27271 -- Fixed a crash in runserver logging.
...
Allowed ServerFormatter to handle simple string messages or messages with
formatting arguments. The formatter will set the server_time variable on
the log record if it's required by the format string but wasn't passed in
extra parameters.
Backport of 6709ea4ae9 from master
2016-09-27 09:48:08 -04:00
Tim Graham
0b59ea3343
[1.10.x] Fixed #27186 -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
...
Thanks Matt Westcott for the review.
Backport of 3507d4e773 from master
2016-09-22 13:07:23 -04:00
Alasdair Nicol
190cd0e49f
[1.10.x] Fixed #27238 -- Disabled check_pattern_startswith_slash if settings.APPEND_SLASH=False.
...
Thanks strycore for the report and timgraham for suggesting the
solution.
Backport of 911d9f4ed1 from master
2016-09-19 21:01:09 -04:00
Tim Graham
393b1c6d45
[1.10.x] Fixed typo in tests/migrations/test_loader.py.
...
Backport of 6989b45c8d from master
2016-09-16 12:56:41 -04:00
Tim Graham
3c9f6eb0c0
[1.10.x] Removed an empty test app.
...
Backport of 94b838387c from master
2016-09-12 18:51:46 -04:00
Tim Graham
244c4c06f9
[1.10.x] Normalized spelling of ETag.
...
Backport of ef021412d5 from master
2016-09-09 11:00:58 -04:00
Nicola Jordan
1f3c66fe9f
[1.10.x] Fixed #27143 -- Allowed combining SearchQuery with more than one & or | operators.
...
Backport of 978a00e39f from master
2016-09-07 15:28:59 -04:00
Tim Graham
3e913d2141
[1.10.x] Fixed #27142 , #27110 -- Made makemigrations consistency checks respect database routers.
...
Partially reverted refs #27054 except for one of the tests as this
solution supersedes that one.
Thanks Shai Berger for the review.
Backport of 098c07a032 from master
2016-09-01 16:19:49 -04:00
Riccardo Magliocchetti
51e5ca4462
[1.10.x] Clarified URL regex check message with respect to include().
...
Backport of 7ed8b98f42 from master
2016-09-01 14:06:59 -04:00
Alex Hill
db3eabfae5
[1.10.x] Refs #27039 -- Fixed regression with field defaults in prefixed forms.
...
Backport of d9c083cfee from master
2016-09-01 09:18:34 -04:00
Olexander Yermakov
7c57f5cf8c
[1.10.x] Fixed #27154 -- Allowed comparing CallableBool with bitwise or.
...
Thanks Tim for the review.
Backport of b7fb608142 from master
2016-08-31 08:28:47 -04:00
Ed Morley
255456becd
[1.10.x] Fixed #19914 -- Fixed test failures with pylibmc.
...
Backport of 674e3fe13e from master
2016-08-29 16:28:22 +01:00
Ed Morley
306545d805
[1.10.x] Fixed #27132 -- Allowed testing MemcachedCache and PyLibMCCache during the same test run.
...
Backport of 047c1d48a6 from master
2016-08-29 16:28:16 +01:00
Ed Morley
547c7e6756
[1.10.x] Refs #27132 -- Added pylibmc to test requirements.
...
Backport of 5d978c4621 from master
2016-08-29 16:28:02 +01:00
Ed Morley
5756edd46d
[1.10.x] Refs #19914 -- Split the test_invalid_keys cache test into two.
...
The first half of the test fails when using pylibmc (so will need
to be skipped).
Backport of cfd1f93d55 from master
2016-08-29 10:26:41 -04:00
Ed Morley
fb8eea5680
[1.10.x] Fixed #27124 -- Excluded cull-related cache configs from memcached tests.
...
Since the `cull` and `zero_cull` test cache configs set `MAX_ENTRIES`
and `CULL_FREQUENCY` in `OPTIONS`, which are only intended for use with
the locmem, filesystem, and database backends. This prevents test
failures once refs #20892 is fixed.
Backport of 606a303856 from master
2016-08-29 10:24:13 -04:00
Tim Graham
325dd0befe
[1.10.x] Fixed #27039 -- Fixed empty data fallback to model field default in model forms.
...
Backport of 4bc6b93994 from master
2016-08-24 19:37:04 -04:00
Berker Peksag
c4ee93128f
[1.10.x] Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in UserCreationForm.fields.
...
Backport of 3c18f8a3d2 from master
2016-08-24 13:23:50 -04:00
Simon Charette
0b454804db
[1.10.x] Fixed #27100 -- Included already applied migration changes in the pre-migrate state.
...
Refs #24100 .
Thanks Tim for the review.
Backport of d5c4ea5246 from master
2016-08-24 01:38:30 -04:00
Simon Charette
1c60765d63
[1.10.x] Fixed #27044 -- Included already applied migration changes in the post-migrate state when the execution plan is empty.
...
Refs #24100 .
Thanks tkhyn for the report and Tim for the review.
Backport of d1757d8df4 from master
2016-08-24 01:37:53 -04:00
Tim Graham
46f604244a
[1.10.x] Fixed #27089 -- Added database alias to InconsistentMigrationHistory message.
...
Backport of ad25fe7350 from master
2016-08-23 20:48:29 -04:00
Collin Anderson
4073780219
[1.10.x] Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).
...
This partially reverts 983c158da7
Backport of 384f89f8f8 from master
2016-08-23 16:06:41 -04:00
Helen Sherwood-Taylor
ae0f55eb49
[1.10.x] Fixed #27018 -- Fixed admindocs crash with a view in a class.
...
Generated correct admindocs URLs on Python 3. URLs generate 404s on
Python 2, as in older versions of Django.
Backport of bc1e2d8e8e from master
2016-08-20 10:02:22 -04:00
Loïc Bistuer
21f18e5372
[1.10.x] Fixed #27073 -- Removed duplicated managers in Model._meta.managers.
...
Backport of d4eefc7e2a from master
2016-08-19 01:27:43 +07:00
Jim Nicholls
16f032e69f
[1.10.x] Fixed #27054 -- Fixed makemigrations crash with a read-only database.
...
Backport of 76ab885118 from master
2016-08-18 08:45:41 -04:00
Chris Lamb
c24a47b3e6
[1.10.x] Refs #26983 -- Added test for isnull lookup to CharField with primary_key=True.
...
Backport of 97513269d7 from master
2016-08-17 21:19:22 -04:00
Tim Graham
020ba4bf91
[1.10.x] Fixed #27058 -- Reallowed the {% for %} tag to unpack any iterable.
...
Thanks Sergei Maertens for the report and patch.
Backport of 937d752d3d from master
2016-08-15 15:40:34 -04:00
Daniel Wiesmann
201198136d
[1.10.x] Fixed #27014 -- Fixed annotations with database functions on PostGIS.
...
Thanks Sean Mc Allister for providing a test.
Backport of 89f17e7caf from master
2016-08-15 14:23:48 -04:00
Jon Dufresne
d8cda352b1
[1.10.x] Fixed #27037 -- Prevented required attribute on ClearableFileInput when initial data exists.
...
Backport of fab46ce6f5 from master
2016-08-12 13:59:23 -04:00
Tim Graham
0254985317
[1.10.x] Fixed #26973 -- Fixed views.static.serve() crash with show_indexes enabled.
...
Backport of 1e32e1cc95 from master
2016-08-10 11:27:29 -04:00
Claude Paroz
246e516f29
[1.10.x] Unified SpatiaLite spelling
...
Backport of ade681b9ad from master.
2016-08-09 18:48:57 +02:00
Ed Morley
233ec837f6
[1.10.x] Fixed docs to refer to HSTS includeSubdomains as a directive.
...
The spec refers to it as a 'directive' rather than a 'tag':
https://tools.ietf.org/html/rfc6797#section-6.1.2
Backport of 8c3bc5cd78 from master
2016-08-08 20:22:09 -04:00