Commit Graph

14576 Commits

Author SHA1 Message Date
Claude Paroz afe4edb4ea Updated core translations from Transifex
Forward port of 96ec72e298 from stable/1.11.x
2017-04-04 12:38:20 +02:00
kapil garg 002fe07622 Fixed #27974 -- Kept resolved templates constant during one rendering cycle.
Thanks Florian Apolloner for the initial patch.
2017-04-03 22:29:39 -04:00
Sergey Fedoseev ef8a339dfb Removed Oracle NULL workaround in AreaField.
Unused since 1b1ea63f6a.
2017-04-03 22:26:33 -04:00
Adam Johnson 7f8a924b45 Refs #27834 -- Removed Value wrapping from StrIndex's substring param. 2017-04-03 08:39:57 -04:00
Sergey Fedoseev 898e623db0 Fixed #27573 -- Made Distance on geodetic coordinates return a raw value on MySQL. 2017-04-02 17:06:01 -04:00
Simon Charette 35c0025151 Fixed #27928 -- Avoided SET/DROP DEFAULT unless a field changes from null to non-null.
Thanks Christophe Pettus, Matteo Pietro Russo for reports and Tim for review.
2017-04-02 16:34:03 -04:00
Sergey Fedoseev 5e710cf4a5 Fixed #11854 -- Added Azimuth GIS function. (#8286) 2017-04-02 14:24:06 -04:00
Chris Sinchok 66150f7cf6 Fixed #27954 -- Allowed keyboard interrupt to abort queries in PostgreSQL dbshell.
Thanks Tim Martin for review.
2017-04-01 21:01:08 -04:00
Jon Dufresne 7bbb5161ea Removed implicit default store_true/false argparse args.
argparse automatically sets the default value for store_true/false
arguments to its opposite.
2017-04-01 20:03:56 -04:00
Stefan Wehrmeyer 1aa8e8605c Fixed #27989 -- Preserved empty QueryDicts for form's data/files args. 2017-04-01 18:43:39 -04:00
Sergey Fedoseev 24023c6a8f Fixed #25874 -- Made GEOSGeometry read SRID from GeoJSON input. 2017-04-01 15:35:30 -04:00
Sergey Fedoseev ede4f6d48c Fixed #12410 -- Added LineLocatePoint GIS function. 2017-04-01 15:02:09 -04:00
Sergey Fedoseev 0a13b249e2 Fixed #26967 -- Added MySQL support for AsGeoJSON, GeoHash, IsValid functions, and isvalid lookup. 2017-04-01 13:43:53 -04:00
Claude Paroz 9a9e228321 Fixed #27848 -- Prevented crash when attaching a .eml file to a message
Thanks Sébastien Ramage for the report.
2017-04-01 16:19:03 +02:00
Sergey Fedoseev bde86ce9ae Fixed #25605 -- Made GIS DB functions accept geometric expressions, not only values, in all positions. 2017-04-01 09:47:49 -04:00
Claude Paroz e487ffd3f0 Fixed #27866 -- Made ChoiceWidget.format_value() return a list
Thanks Tim Graham for the review.
2017-04-01 12:24:05 +02:00
Carlton Gibson 6b3724fa11 Fixed #27359 -- Made Engine.get_default() return the first DjangoTemplates engine if multiple are defined. 2017-03-31 17:26:42 -04:00
heathervm 7d1e237753 Fixed #27993 -- Fixed model form default fallback for SelectMultiple. 2017-03-31 10:10:08 -04:00
Adonys Alea Boffill a0d29a9abe Fixed #27942 -- Prevented admin from adding "add" buttons to all tables in inlines. 2017-03-30 10:39:59 -04:00
Tim Graham 1fa47dc45a Updated minified admin JavaScript for the latest closure compiler. 2017-03-30 10:06:52 -04:00
Sergey Fedoseev 6ecccad711 Fixed #25873 -- Made GEOSGeometry handle the srid parameter more predictably. 2017-03-30 09:38:26 -04:00
Sergey Fedoseev 068d75688f Refs #18247 -- Fixed SQLite QuerySet filtering on decimal result of Least and Greatest. 2017-03-29 13:29:53 -04:00
Sergey Fedoseev d5977e492e Refs #25759 -- Fixed some GIS Funcs if different database backends are used. 2017-03-29 13:29:18 -04:00
Sergey Fedoseev 4bc355079c Fixed #27973 -- Fixed GeoJSON representation of LinearRing and custom GEOSGeometry subclasses. 2017-03-29 13:17:31 -04:00
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