Sergey Fedoseev
|
9415fcfef6
|
Tested the case when the lhs of a raster lookup has an index specified and the rhs doesn't.
|
2017-07-20 09:05:45 -04:00 |
Sergey Fedoseev
|
37fbeb99f9
|
Removed unused models.DecimalField._format().
Unused since b3b71a0922 .
|
2017-07-20 09:00:18 -04:00 |
Sergey Fedoseev
|
81a453ca0f
|
Removed unneeded check in GeometryField.from_db_value().
Unneeded since 6f43b2b8a5 .
|
2017-07-20 16:23:56 +05:00 |
Roman Selivanov
|
d4da39685b
|
Fixed #28414 -- Fixed ClearableFileInput rendering as a subwidget of MultiWidget.
|
2017-07-19 14:28:06 -04:00 |
Sergey Fedoseev
|
3f7953846e
|
Fixed typo in DistanceLookupBase.process_rhs() error message.
|
2017-07-19 13:40:56 -04:00 |
Sergey Fedoseev
|
196da41ee2
|
Removed SRID use in PostGISAdapter.__eq__() and __hash__().
EWKB already contains the SRID.
|
2017-07-19 10:04:15 -04:00 |
Mariusz Felisiak
|
e06cab2600
|
Fixed #28411 -- Used cx_Oracle.Cursor.outputtypehandler instead of _rowfactory() on Oracle.
Thanks Tim Graham for the review.
|
2017-07-19 08:42:52 +02:00 |
Sergey Fedoseev
|
dc738a0c76
|
Removed redundant lookup values in RasterFieldTest.test_all_gis_lookups_with_rasters.
These values produce already tested lookups and prevent another one from
being tested.
|
2017-07-18 15:01:09 -04:00 |
Tomer Chachamu
|
62917cee5a
|
Doc'd the need to remove default ordering on Subquery aggregates.
|
2017-07-18 08:48:25 -04:00 |
Sergey Fedoseev
|
12812f6b2d
|
Fixed RasterFieldTest.test_all_gis_lookups_with_rasters.
It was inadvertently made a no-op in
378cf689d8 .
|
2017-07-18 08:47:59 -04:00 |
Tim Graham
|
259875535b
|
Removed unneeded right quotes in docs to fix spelling errors.
A regression in pyenchant caused a problem:
https://github.com/rfk/pyenchant/issues/93
|
2017-07-18 08:24:49 -04:00 |
Sergey Fedoseev
|
33d453b2a7
|
Removed unneeded hasattr(self.rhs, 'get_compiler') checks in db/models/lookups.py.
Unneeded since 9ae4362bec .
|
2017-07-18 08:24:01 -04:00 |
Srinivas Reddy Thatiparthy
|
71ff9a74cb
|
Created a dedicated test directory for FilePathField tests.
|
2017-07-17 16:40:34 -04:00 |
Mariusz Felisiak
|
776cee9749
|
Fixed #28391 -- Fixed Cast() with CharField and max_length on MySQL.
Thanks Tim Graham for the review.
|
2017-07-17 21:12:27 +02:00 |
Tim Graham
|
feeafdad02
|
Removed unused enter/exit methods of MySQL's CursorWrapper.
Unused since their introduction in e1d839237f .
|
2017-07-17 13:16:29 -04:00 |
jmk
|
841b464883
|
Fixed 403 link in docs/ref/contrib/gis/install/spatialite.txt.
|
2017-07-17 12:26:11 -04:00 |
Mariusz Felisiak
|
e5835a7cb8
|
Allowed Func subclasses to add kwargs to __repr__().
Thanks Tim Graham for the review.
|
2017-07-17 10:07:19 -04:00 |
Florian Apolloner
|
adab280cef
|
Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), and intersection() queries.
|
2017-07-15 08:20:12 -04:00 |
Sergey Fedoseev
|
9290f15bb5
|
Simplified GIS Funcs by using GeoFuncMixin.geo_field.
|
2017-07-15 15:03:50 +05:00 |
Sergey Fedoseev
|
504ce3914f
|
Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from _output_field).
|
2017-07-14 21:56:01 -04:00 |
Srinivas Reddy Thatiparthy
|
5debbdfcc8
|
Fixed #28387 -- Fixed has_changed() for disabled form fields that subclass it.
|
2017-07-14 13:06:51 -04:00 |
Tim Graham
|
2e9ada1551
|
Fixed #28397 -- Removed django.core.exceptions.DjangoRuntimeWarning.
|
2017-07-14 12:06:06 -04:00 |
Sergey Fedoseev
|
fc2dee6908
|
Removed unused branch in __getattr__() of Oracle and MySQL cursor wrappers.
|
2017-07-14 09:14:21 -04:00 |
Sergey Fedoseev
|
18db55bb31
|
Replaced Oracle CursorIterator with generator expression.
|
2017-07-14 14:15:00 +05:00 |
Tim Graham
|
37b2602c89
|
Refs #28174 -- Added 1.11.4 release note for Python 2 runserver autoreload fix.
Forwardport of fc6b90bdb7 from stable/1.11.x
|
2017-07-13 13:42:27 -04:00 |
Sergey Fedoseev
|
59cad72636
|
Simplified GEOSCoordSeq._checkindex().
|
2017-07-13 12:46:59 -04:00 |
Sergey Fedoseev
|
be8d5bd703
|
Added test for GEOSCoordSeq.__getitem__().
|
2017-07-13 12:46:59 -04:00 |
Sergey Fedoseev
|
8ab2ae4404
|
Removed unneeded index check in LineString._set_single() as index is already checked in __getitem__().
Unneeded since its introduction in 66e1670efa .
|
2017-07-13 11:41:00 -04:00 |
Sergey Fedoseev
|
ce834d0891
|
Removed unused ListMixin._checkindex() correct kwarg.
Unused since its introduction in 66e1670efa .
|
2017-07-13 11:39:06 +05:00 |
Tim Graham
|
e532bf7a90
|
Removed GeometryField.get_distance(); a GeoQuerySet leftover.
Follow up to a0d166306f .
|
2017-07-12 21:23:25 -04:00 |
Sergey Fedoseev
|
815a0bb80d
|
Refs #28020 -- Removed obsolete GeometryCollection.json.
Unused since 12d0567aa5 .
|
2017-07-12 15:11:11 -04:00 |
Windsooon
|
e19b9d6015
|
Merged nested if statements in BaseFormSet.is_valid().
|
2017-07-12 14:13:03 -04:00 |
Sergey Fedoseev
|
138a78ec8c
|
Made LineString.__iter__() return iter() from internal GEOSCoordSeq both for simplicity and performance.
|
2017-07-12 22:13:57 +05:00 |
Sergey Fedoseev
|
1a742ea33b
|
Added test for LineString.__iter__().
|
2017-07-12 22:13:45 +05:00 |
Sergey Fedoseev
|
83440a1258
|
Refs #28389 -- Added release note and test for pickling of LazyObject when wrapped object doesn't have __reduce__().
Forwardport of 30f334cc58 from stable/1.11.x
|
2017-07-12 09:30:29 -04:00 |
Sergey Fedoseev
|
59a4b12a23
|
Refs #23919 -- Removed LazyObject.__getstate__() needed only on Python 2.
|
2017-07-12 13:14:49 +05:00 |
Jon Dufresne
|
d7881d2020
|
Fixed #22229 -- Added primary key validation to BaseModelFormSet._construct_form().
|
2017-07-11 14:33:21 -04:00 |
Jon Dufresne
|
988309a1ae
|
Added ModelFormSet test for validation of a nonexistent PK.
|
2017-07-11 14:28:56 -04:00 |
Tim Graham
|
2457c1866e
|
Refs #28352 -- Corrected another QuerySet.values_list() return type in docs example.
|
2017-07-11 14:22:46 -04:00 |
Irindu Indeera
|
babe9e64a6
|
Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.
|
2017-07-11 14:15:17 -04:00 |
Adam Johnson
|
f816ceedf1
|
Made assertions in invalid_models_tests consistent.
|
2017-07-11 13:12:17 -04:00 |
Claude Paroz
|
169c3b3e07
|
Fixed #14204 -- Enforced SQLite foreign key constraints.
Thanks Tim Graham for contributing to the patch and
Simon Charette for advice and review.
|
2017-07-11 09:07:31 -04:00 |
Sergey Fedoseev
|
29769a9942
|
Fixed #28382 -- Prevented BaseExpression._output_field from being set if _resolve_output_field() fails.
|
2017-07-11 08:29:08 -04:00 |
Sergey Fedoseev
|
306b961a4d
|
Fixed #28383 -- Made NumPoints GIS function return None for non-LINESTRING geometries on MySQL.
|
2017-07-11 08:21:11 -04:00 |
Tom
|
719b370b34
|
Updated name of topics/db/queries link on index.
|
2017-07-11 08:15:13 -04:00 |
Samir Shah
|
d7d0a0c8e9
|
Fixed rendering of form errors in tests/templates/login.html.
|
2017-07-11 07:53:06 -04:00 |
Mariusz Felisiak
|
ca74e56350
|
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.
|
2017-07-10 20:40:08 +02:00 |
Mariusz Felisiak
|
9bca0d0b38
|
Added test for intersection() when combining with a queryset raising EmptyResultSet.
|
2017-07-10 20:40:08 +02:00 |
Jaap Roes
|
408ed9fea4
|
Fixed typo in tests/i18n/tests.py comment.
|
2017-07-10 12:08:57 -04:00 |
Marten Kenbeek
|
ceb5f1c9bf
|
Refs #27804 -- Used subTest() in urlpatterns_reverse tests.
|
2017-07-10 09:27:50 -04:00 |