Dima Kudosh
093fd479d6
Fixed #28335 -- Allowed query expressions in Meta.ordering.
2017-09-05 19:10:20 -04:00
Josh Schneier
48c394a6fc
Fixed #28555 -- Made CharField convert whitespace-only values to the empty_value when strip is enabled.
2017-09-05 12:41:38 -04:00
Tim Graham
46e2b9e059
Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of technical 500 debug page.
...
This is a security fix.
2017-09-05 10:58:38 -04:00
François Freitag
663946463d
Removed hardcoding from get_earliest_or_latest tests' tearDown().
2017-09-05 10:04:22 -04:00
Mariusz Felisiak
3ba4de59a2
Added tests for BooleanField/NullBooleanField's check constraints on Oracle.
2017-09-05 09:02:56 +02:00
Mads Jensen
f4135783ad
Fixed #28126 -- Added GistIndex to contrib.postgres.
...
Thanks to Marc Tamlyn for the initial patch.
2017-09-04 21:08:02 -04:00
Nick Pope
66657eb01f
Improved messages in IndexErrors raised by GDAL objects.
2017-09-04 19:00:32 -04:00
Nick Pope
0d9e1163e8
Fixed #28569 -- Corrected get_layer_by_name prototype to skip error checking.
...
All other get_*_by_name functions have errcheck=False. This makes it
return None for an invalid name instead of raising a GDALException.
2017-09-04 18:56:23 -04:00
Jeremy Satterfield
0891503fad
Fixed #28493 -- Made migrations autodetector find dependencies for model renaming.
2017-09-04 15:15:39 -04:00
Sebastian Sassi
5848305218
Fixed #28082 -- Made BaseDateListView pass context from get_dated_items() to subclasses.
...
Thanks leon-matthews for the report and fix.
2017-09-04 10:55:18 -04:00
Srinivas Reddy Thatiparthy
0d3f567a7a
Corrected YearComparisonLookup.get_bound() signature.
2017-09-04 10:17:51 -04:00
Igor Tokarev
af35c69a3c
Fixed #26344 -- Made EmailMessage include alternatives when the body is empty and it has attachments.
2017-09-04 08:46:11 -04:00
Nick Pope
dea4cfb95b
Refs #27804 -- Used subTest() in a modeladmin test.
2017-09-03 21:20:43 -04:00
Nick Pope
9397d3add4
Fixed #28558 -- Simplified code to remove OGRIndexError.
...
The test is a regression for refs #4740 to show that the original fix of
OGRIndexError is no longer needed.
This is similar to the removal of GEOSIndexError in
197b187810
.
2017-09-03 21:19:37 -04:00
Mads Jensen
feb1a0a692
Refs #27804 -- Used subTest() in a syndication test.
2017-09-03 20:40:50 -04:00
caleb logan
68f0e8d8b1
Fixed #28500 -- Fixed crash in FileBasedCache._is_expired() if the cache file is empty.
2017-09-03 20:11:49 -04:00
ZachLiuGIS
2dacc2ccd9
Fixed #28550 -- Restored contrib.auth's login() and logout() views' respect of positional arguments.
...
Regression in 78963495d0
.
Forwardport of f8e0557b01
from stable/1.11.x
2017-09-03 12:06:44 -04:00
Nick Pope
35800acf79
Refs #25225 -- Removed test for removed ListMixin._IndexError.
...
Unused since 197b187810
.
2017-09-03 10:44:52 -04:00
LBerrocal
54f7aa04a7
Fixed #28306 -- Completed test coverage for django.utils.lorem_ipsum.
...
Thanks Idan Melamed for the original patch.
2017-09-02 15:50:43 -04:00
François Freitag
18dd9ba481
Fixed test in auth_tests modifying data from setUpTestData().
2017-09-01 21:43:41 -04:00
Jeremy Kerr
84b7cb7df0
Fixed #28549 -- Fixed QuerySet.defer() with super and subclass fields.
...
Previously, deferring fields in different classes didn't omit the
superclass' deferred field.
Thanks Simon Charette for the suggested fix.
2017-08-31 09:35:05 -04:00
Tim Graham
e5bd585c6e
Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.
...
Previously, it was a QuerySet which could reevaluate to a new value if the
model's data changes. This is inconsistent with other Field.value_from_object()
methods.
This allows reverting the fix in the admin for refs #27998 .
2017-08-31 09:34:44 -04:00
Nick Pope
ec6481246a
Fixed #28524 -- Fixed program name in management commands when using 'python -m django'.
2017-08-31 09:22:25 -04:00
caleb logan
9e2bf65d6a
Fixed #28530 -- Prevented SelectDateWidget from localizing years in output.
2017-08-29 14:56:08 -04:00
Collin Anderson
751f7a6d9b
Added Media.__repr__().
...
It makes it easier to debug MediaOrderConflictWarnings
(refs #28377 ).
2017-08-26 20:57:45 -04:00
Claude Paroz
4b67e8dc75
Complemented datetime picker selenium test
...
This includes test coverage for the calendarMonth JS function in calendar.js
2017-08-26 18:00:44 +02:00
Mads Jensen
e016c4c65b
Refs #27869 -- Omitted field kwargs from GinIndex.deconstruct() if they're None.
2017-08-26 10:32:03 -04:00
Mads Jensen
fb42d02471
Refs #25809 -- Omitted pages_per_range from BrinIndex.deconstruct() if it's None.
2017-08-26 09:45:45 -04:00
Sergey Fedoseev
1a85b07bdd
Fixed #28518 -- Improved performance of loading geometries from DB.
2017-08-24 14:08:35 -04:00
hui shang
c0f4c60edd
Fixed #28513 -- Added POST request support to LogoutView.
2017-08-24 09:11:16 -04:00
Fabian Schindler
da0fb5b1ec
Fixed #28380 -- Excluded null geometries in SpatiaLite geometry lookups.
2017-08-24 08:30:11 -04:00
Claude Paroz
09b3e46635
Fixed #27796 -- Prevented middleware being loaded twice with runserver
...
Thanks Tim Graham for the review.
2017-08-23 23:05:18 +02:00
Kevin Grinberg
c6a3546093
Fixed #28451 -- Restored pre-Django 1.11 Oracle sequence/trigger naming.
...
Regression in 69b7d4b116
.
2017-08-22 15:51:08 -04:00
Claude Paroz
ed77bea582
Refs #28502 -- Complemented stringformat tuple handling/test.
...
An additional test and a code change were suggested in a late review.
2017-08-22 08:45:08 -04:00
Simon Meers
7bba82453c
Fixed #28496 -- Added ModelAdmin.get_changelist_instance().
2017-08-22 08:17:26 -04:00
Paulo
fea9cb46aa
Fixed #28375 -- Fixed KeyError crash on reverse prefetch of a model with OneToOneField primary key to a non-pk field.
2017-08-21 16:14:13 -04:00
Srinivas Reddy Thatiparthy
4ead705cb3
Fixed #28502 -- Made stringformat template filter accept tuples
2017-08-21 09:04:43 +02:00
Srinivas Reddy Thatiparthy
a64f88f5be
Refs #28502 -- Completed stringformat filter tests
2017-08-19 21:22:59 +02:00
Mariusz Felisiak
6784383e93
Fixed #28498 -- Fixed test database creation with cx_Oracle 6.
2017-08-16 18:39:58 +02:00
Claude Paroz
546412e673
Fixed #28495 -- Converted GDAL Feature.fields to strings
2017-08-15 19:31:22 +02:00
Martin von Gagern
71d39571f4
Fixed #28485 -- Made ExceptionReporter.get_traceback_frames() include frames without source code.
2017-08-12 20:32:39 -04:00
Alejandro Zamora
90d7b912b9
Fixed #28201 -- Added ProhibitNullCharactersValidator and used it on CharField form field.
2017-08-12 20:14:14 -04:00
Tom
b78d100fa6
Fixed #27849 -- Added filtering support to aggregates.
2017-08-12 17:58:28 -04:00
Mariusz Felisiak
489421b015
Fixed #23546 -- Added kwargs support for CursorWrapper.callproc() on Oracle.
...
Thanks Shai Berger, Tim Graham and Aymeric Augustin for reviews and
Renbi Yu for the initial patch.
2017-08-12 21:06:49 +02:00
Tim Graham
d04b324969
Fixed #28421 -- Split some long FormSet tests and made other cosmetic cleanups.
...
Thanks Windson for the initial patch.
2017-08-11 17:43:50 -04:00
Sergey Fedoseev
5cc7462067
Refs #28459 -- Optimized ModelState instantiation.
2017-08-11 15:41:04 -04:00
Nerl~
97cb3bd16d
Fixed #28456 -- Allowed customizing Model pickling by overriding __getstate__().
2017-08-11 15:27:25 -04:00
Evan Grim
7937cc16f5
Fixed #28386 -- Made operations within non-atomic migrations honor the operation's atomic flag when migrating backwards.
2017-08-10 19:21:14 -04:00
Evan Grim
5893eaddf4
Added missing test for RunPython behavior when unapplying.
2017-08-10 19:19:48 -04:00
Sergey Fedoseev
c3c6c92d76
Refs #18247 -- Fixed filtering on CombinedExpression(output_field=DecimalField()) annotation on SQLite.
2017-08-10 17:42:30 -04:00