Sergey Fedoseev
9cd6ba991f
Made isvalid lookup use IsValid function to decrease code redundancy.
2017-03-29 08:56:58 -04:00
Mariusz Felisiak
1d070d027c
Fixed #25414 -- Fixed QuerySet.annotate() with pk in values() on MySQL.
...
Thanks Tim Graham and Simon Charette for the reviews.
2017-03-29 06:47:07 +02:00
Tim Graham
b59c0d722d
Refs #18974 -- Added stacklevel for permalink() deprecation.
2017-03-28 17:58:10 -04:00
Tim Graham
eca6f91be2
Updated cx_Oracle arraysize comment.
2017-03-28 09:41:45 -04:00
Ionuț Ciocîrlan
78619bcb0a
Fixed #27987 -- Added default colors in debug view CSS.
2017-03-28 08:55:16 -04:00
Sergey Fedoseev
d47de2e09d
Refs #27736 -- Used decorators for GIS lookup registration.
2017-03-27 22:20:18 -04:00
Mads Jensen
ed0cbc8d8b
Refs #23919 -- Removed some Python 2 compatibility code and comments.
2017-03-27 13:12:27 -04:00
Mariusz Felisiak
1b6f05e91f
Fixed #21160 -- Fixed QuerySet.in_bulk() crash on SQLite when requesting more than 999 ids.
...
Thanks Andrei Picus and Anssi Kääriäinen for the initial patch
and Tim Graham for the review.
2017-03-27 18:43:40 +02:00
Sergey Fedoseev
7fffe3acc2
Removed unused GISLookup._check_geo_field().
...
Unused since a0d166306f
.
2017-03-25 13:09:34 -04:00
Tim Graham
e643ba8bcf
Fixed #27956 -- Fixed display of errors in an {% extends %} child.
...
Thanks Ling-Xiao Yang for the report and test, and
Preston Timmons for the fix.
2017-03-25 08:22:12 -04:00
Mariusz Felisiak
f42c7cc87b
Refs #21160 -- Replaced DatabaseFeatures.supports_1000_query_parameters by a DatabaseFeatures.max_query_params.
2017-03-24 18:37:03 +01:00
Sergey Fedoseev
1b1ea63f6a
Fixed #27962 -- Allowed lookups on Area annotations.
2017-03-23 20:06:16 -04:00
Sergey Fedoseev
e9149d3eb0
Fixed #27603 -- Fixed AsKML when queryset is evaluated more than once.
2017-03-23 19:09:04 -04:00
Kapil Garg
7e09fa7f51
Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' for fields with choices.
2017-03-23 13:22:04 -04:00
Sergey Fedoseev
b00ee5471d
Simplified handling of expressions in StatAggregate.
2017-03-23 13:05:59 -04:00
Paul
001cf53280
Fixed #27952 -- Added translation hint for RegexValidator error message.
2017-03-23 11:11:01 -04:00
Sergey Fedoseev
40ffabe8dc
Removed unneeded Value wraps in Substr.
...
Unneeded since e2d6e14662
.
2017-03-23 10:50:56 -04:00
James Beith
216bb2e8fb
Fixed #27975 -- Fixed crash if ModelChoiceField's queryset=None.
...
Regression in 9153d8fbd6385db9f48793662de789fc3d686841.
2017-03-22 08:51:12 -04:00
seanfagan
325db2a8c3
Fixed #27945 -- Clarified that RegexValidator searches with the regex.
2017-03-21 12:27:42 -04:00
Mariusz Felisiak
43380e9110
Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.
...
Thanks Tim Graham for the review.
2017-03-21 17:23:17 +01:00
Sergey Fedoseev
7063a85579
Fixed #27960 -- Set errcheck=False for GDALAllRegister to prevent crash.
...
GDALAllRegister returns void so errcheck is not needed.
2017-03-21 11:45:12 -04:00
Tim Graham
3d19d1428a
Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models.
...
Thanks Markus Holtermann for review.
2017-03-21 10:53:21 -04:00
Tim Graham
93d0770104
Refs #27919 -- Changed contrib widget's get_context() attrs kwarg to an arg.
...
Follow up to 075e93c16a
.
2017-03-21 10:15:34 -04:00
Tim Graham
075e93c16a
Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg.
2017-03-21 09:14:45 -04:00
Tim Graham
6ff356e891
Refs #27919 -- Passed ChoiceWidget.create_option() kwargs as expected.
2017-03-21 09:14:45 -04:00
Sergey Fedoseev
08972528c2
Removed more GeoQuerySet leftovers.
...
Follow up to a0d166306f
.
2017-03-21 09:13:18 -04:00
Jon Dufresne
7edeeb74fe
Fixed #27957 -- Removed technical terms from InlineForeignKeyField/ModelMultipleChoiceField error messages.
2017-03-20 13:12:55 -04:00
Mariusz Felisiak
2867b7eb4b
Refs #27935 -- Fixed BrinIndex.max_name_length if a project's default database isn't PostgreSQL.
...
Thanks Florian Apolloner for the report.
2017-03-20 11:21:01 -04:00
Sergey Fedoseev
6cb0a3ac28
Removed BaseSpatialOperations.truncate_params.
...
Unused since 32969c3931
.
2017-03-20 07:59:23 -04:00
Adonys Alea Boffill
cd2ad26cc9
Fixed #27724 -- Fixed SelectDateWidget redisplay if a year isn't chosen.
2017-03-18 15:14:52 -04:00
Mads Jensen
19b8ca5824
Removed unused connector parameter of Query.build_filter().
...
Unused since 6fe2b001db
.
2017-03-18 09:04:56 -04:00
Mads Jensen
e45633086c
Removed unused rest_of_lookups parameter of Query.try_transform().
...
Unused since 534aaf56f4
.
2017-03-18 09:00:59 -04:00
Mads Jensen
82bb4e684f
Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters.
2017-03-18 08:12:10 -04:00
Tim Graham
93eca976c1
Fixed #27939 -- Updated OpenLayersWidget.map_srid for OpenLayers 3.
...
Regression in 2ebfda38e6
(refs #25004 ).
2017-03-17 12:03:06 -04:00
Tim Graham
b536dcf656
Fixed #27948 -- Removed incorrect unquote() in static serving views.
2017-03-17 07:55:00 -04:00
Sergey Fedoseev
875aebdb2c
Added SpatiaLite NumPoints support for non-LINESTRING geometries.
2017-03-16 20:29:31 -04:00
Tim Graham
5bd7ffc313
Updated postgis.net and gaia-gis.it links to https.
2017-03-16 14:01:45 -04:00
Sergey Fedoseev
1bf5e79394
Removed GeoQuerySet leftovers.
...
Follow up to a0d166306f
.
2017-03-16 09:38:02 -04:00
Josh Schneier
6bc4ff36db
Fixed #27897 -- Fixed crash with 'pk' in ModelAdmin.search_filters.
2017-03-15 13:45:18 -04:00
Bo Marchman
7a7b331cd5
Fixed #27882 -- Allowed {% cache %} to cache indefinitely.
2017-03-15 13:01:21 -04:00
Tim Graham
44f9241c48
Refs #27563 -- Fixed ModelChoiceField.__deepcopy__() so forms don't share a queryset cache.
...
Thanks Luke Benstead for the report Simon Charettes for the fix.
2017-03-15 12:54:26 -04:00
Brad Melin
b625907a79
Fixed #27834 -- Added StrIndex database function.
2017-03-14 19:58:56 -04:00
Claude Paroz
540ae68a5c
Fixed #27920 -- Restored empty RadioSelect choice producing value=""
...
Regression in b52c73008a
.
Thanks Tim Graham for the review.
2017-03-14 18:23:06 +01:00
Mads Jensen
e7033e00f8
Used constant instead of hard-coded value for max index name length
...
Refs #26709
2017-03-14 15:50:37 +01:00
Adam Chainz
a452dddb25
Fixed #27904 -- Added a system check that Field.validators are callable.
2017-03-11 12:27:29 -05:00
Mariusz Felisiak
75503a823f
Fixed #27924 -- Added support for cx_Oracle 5.3.
...
- Fixed Oracle backend due to cx_Oracle 5.3 change in the
Cursor.description behavior i.e. "Use None instead of 0 for items in
the Cursor.description attribute that do not have any validity.".
- Used cx_Oracle.Object.size() instead of len().
Thanks Tim Graham for the review.
2017-03-10 23:02:44 +01:00
Mariusz Felisiak
94d8bea212
Fixed #24365 -- Made inspectdb translate MySQL unsigned integer columns to positive integer fields.
2017-03-08 10:56:00 -05:00
Adam Johnson
af121b08e8
Refs #27624 -- Made many attributes of Query immutable.
2017-03-08 09:25:44 -05:00
Camilo Nova
5db465d5a6
Fixed #27891 -- Added PasswordResetConfirmView.post_reset_login_backend.
2017-03-07 19:52:26 -05:00
Raphael Merx
2a3a0eb092
Fixed #27905 -- Added RelatedFieldWidgetWrapper.value_omitted_from_data().
2017-03-07 13:56:29 -05:00