Claude Paroz
c52ae33a0c
Fixed #28100 -- Removed link in UserChangeForm.password's translatable help_text
2017-04-22 15:39:15 +02:00
Tim Graham
d2cb7a2bc1
Fixed #28039 -- Fixed crash in BaseGeometryWidget.subwidgets().
2017-04-20 11:36:40 -04:00
Tim Graham
dff559ff83
Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget.
2017-04-19 12:59:30 -04:00
InvalidInterrupt
dda596ca32
Fixed #28066 -- Prevented SessionBase.cycle_key() from discarding data.
2017-04-17 09:58:19 -04:00
Sergey Fedoseev
6d5bb6ae9e
Refs #28024 -- Optimized LineString.__init__() by avoiding superfluous index and dimension checks.
2017-04-13 11:30:26 +05:00
Sergey Fedoseev
ebaa08b3ae
Refs #28024 -- Optimized GEOSCoordSeq.__setitem__() by avoiding superfluous index and dimension checks.
2017-04-11 12:46:41 -04:00
Sergey Fedoseev
a296a43309
Refs #28024 -- Optimized GEOSCoordSeq.__getitem__() by avoiding superfluous index and dimension checks.
2017-04-11 12:46:41 -04:00
Sergey Fedoseev
d453dfb1da
Refs #28024 -- Optimized GEOSCoordSeq.tuple by avoiding superfluous index and dimension checks.
2017-04-11 12:46:41 -04:00
Sergey Fedoseev
e7afef13f5
Fixed #26788 -- Fixed QuerySet.update() crash when updating a geometry to another one.
2017-04-10 13:26:26 -04:00
Sergey Fedoseev
df8f1d018f
Fixed #27972 -- Made BaseSpatialField.geodetic() use SpatialReference.geographic.
2017-04-07 12:45:52 -04:00
Sergey Fedoseev
e2bd2539b6
Made get_srid_info() cache use a namedtuple.
2017-04-07 12:24:38 -04:00
Sergey Fedoseev
24ae244a82
Removed connection agnostic SRID info cache from BaseSpatialField.
2017-04-07 12:24:38 -04:00
Sergey Fedoseev
08df3dd937
Removed more GeoQuerySet leftovers.
...
Follow up to a0d166306f
.
2017-04-07 07:38:56 -04:00
Sergey Fedoseev
fd892f3443
Fixed #28006 -- Allowed using D with lookups on Distance annotations.
2017-04-06 19:27:45 -04:00
Sergey Fedoseev
12d0567aa5
Fixed #28020 -- Made GEOSGeometry.json use OGRGeometry.json for better performance.
2017-04-05 09:03:24 -04:00
Claude Paroz
2dba812d86
Updated contrib translations from Transifex
...
Forward port of 290b2849f7
from stable/1.11.x
2017-04-04 12:39:02 +02:00
Sergey Fedoseev
ef8a339dfb
Removed Oracle NULL workaround in AreaField.
...
Unused since 1b1ea63f6a
.
2017-04-03 22:26:33 -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
Sergey Fedoseev
5e710cf4a5
Fixed #11854 -- Added Azimuth GIS function. ( #8286 )
2017-04-02 14:24:06 -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
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
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
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
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
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
Sergey Fedoseev
7fffe3acc2
Removed unused GISLookup._check_geo_field().
...
Unused since a0d166306f
.
2017-03-25 13:09:34 -04: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
Sergey Fedoseev
b00ee5471d
Simplified handling of expressions in StatAggregate.
2017-03-23 13:05:59 -04: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
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
Sergey Fedoseev
08972528c2
Removed more GeoQuerySet leftovers.
...
Follow up to a0d166306f
.
2017-03-21 09:13:18 -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
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
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
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
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
Tim Graham
784a53beef
Reverted "Fixed #27878 , refs #23919 -- Used python3 shebangs."
...
This reverts commit 4cffa9a1ff
.
2017-03-07 10:10:32 -05:00
Anton Samarchyan
e88d2dfcf4
Fixed #27475 -- Fixed NonExistentTimeError crash in ModelAdmin.date_hierarchy.
2017-03-06 12:01:31 -05:00
Claude Paroz
8346680e1c
Refs #27795 -- Removed unneeded force_text calls
...
Thanks Tim Graham for the review.
2017-03-04 18:18:21 +01:00
Anton Samarchyan
86de930f41
Refs #27656 -- Updated remaining docstring verbs according to PEP 257.
2017-03-04 10:02:06 -05:00
David Szotten
d82ee32aac
Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to 'pk'.
2017-03-02 10:25:05 -05:00
Alexey Opalev
9f21e35100
Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__().
2017-02-28 11:48:07 -05:00
Asif Saifuddin Auvi
5f3a689f71
Imported django.http classes instead of django.http.
2017-02-27 14:47:11 -05:00
Tim Graham
c31e7ab5a4
Refs #25187 -- Fixed AuthBackend.authenticate() compatibility for signatures that accept a request kwarg.
2017-02-24 10:15:41 -05:00
Vytis Banaitis
3dcc351691
Refs #23919 -- Used yield from.
2017-02-23 20:06:01 -05:00
Chris Lamb
4cffa9a1ff
Fixed #27878 , refs #23919 -- Used python3 shebangs.
2017-02-23 13:41:10 -05:00
Anton Samarchyan
610876661e
Fixed typos in code comments.
2017-02-22 10:25:42 -05:00
Collin Anderson
fb7e0e01af
Fixed #27850 -- Made RelatedFieldWidgetWrapper call render() of the wrapped widget.
2017-02-20 08:48:03 -05:00
Markus Holtermann
b9b35f9efa
Fixed #27840 -- Fixed KeyError in PasswordResetConfirmView.form_valid().
...
When a user is already logged in when submitting the password and
password confirmation to reset a password, a KeyError occurred while
removing the reset session token from the session.
Refs #17209
Thanks Quentin Marlats for the report and Florian Apolloner and Tim
Graham for the review.
2017-02-15 00:35:04 +01:00
Mads Jensen
fb5bd38e3b
Refs #26610 -- Added CIText mixin and CIChar/Email/TextField.
2017-02-11 07:16:35 -05:00
Tim Graham
0166dd2f8c
Fixed #25524 -- Removed GISOperations.get_distance()'s handle_spheroid param.
2017-02-11 05:47:20 -05:00
Tim Graham
500532c95d
Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().
2017-02-09 09:03:47 -05:00
Anton Samarchyan
b27166b769
Fixed #27356 -- Fixed ModelAdmin.lookup_allowed() for some nested relations.
2017-02-07 19:33:26 -05:00
Mariusz Felisiak
6b048b364c
Fixed #26903 -- Fixed __contains lookup for Date/DateTimeRangeField.
...
Thanks Mariusz Felisiak and Tim Graham for polishing the patch.
2017-02-07 12:46:18 -05:00
Claude Paroz
3a148f958d
Refs #27795 -- Removed force_text from the template layer
...
Thanks Tim Graham for the review.
2017-02-07 17:14:02 +01:00
Tim Graham
854f695014
Refs #27815 -- Reordered LoginView.get_form_kwargs().
2017-02-07 10:15:43 -05:00
Zoltan Gyarmati
41ba27fefd
Fixed #27815 -- Made LoginView pass the request kwarg to AuthenticationForm.
2017-02-07 08:54:21 -05:00
Claude Paroz
c651331b34
Converted usage of ugettext* functions to their gettext* aliases
...
Thanks Tim Graham for the review.
2017-02-07 09:04:04 +01:00
Anton Samarchyan
5411821e3b
Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.
2017-02-04 16:39:28 -05:00
orf
b5393028bf
Fixed #27767 -- Added distinct argument to ArrayAgg.
2017-02-04 13:57:39 -05:00
Tim Graham
29f607927f
Fixed spelling of "nonexistent".
2017-02-03 08:01:45 -05:00
Vytis Banaitis
8838d4dd49
Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.
2017-02-01 11:41:56 -05:00
Ling-Xiao Yang
0ec4dc91e0
Fixed #27661 -- Moved FileSystemFinder's ImproperlyConfigured exceptions to system checks.
...
Thanks Simon Charette, Mariusz Felisiak, Tim Graham, and Adam Johnson
for review.
2017-02-01 09:48:24 -05:00
Claude Paroz
3b2e28fc85
Used model_ngettext in two more places
2017-01-31 08:48:17 +01:00
Thom Wiggers
d5b573d872
Fixed #26993 -- Increased User.last_name max_length to 150 characters.
2017-01-28 09:29:00 -05:00
Tim Graham
0de0699d94
Fixed #27788 -- Dropped support for Oracle < 12.1.
2017-01-28 08:19:47 -05:00
Mariusz Felisiak
c37ec5a659
Fixed #27781 -- Made simplify_regex() remove outstanding '?' characters.
...
Regression in f0ef0c49e9
.
2017-01-26 18:36:34 -05:00
Claude Paroz
fee42fd99e
Refs #23919 -- Replaced usage of django.utils.http utilities with Python equivalents
...
Thanks Tim Graham for the review.
2017-01-26 19:49:03 +01:00
Vytis Banaitis
d1bab24e01
Refs #23919 , #27778 -- Removed obsolete mentions of unicode.
2017-01-26 08:19:27 -05:00
Tim Graham
1c466994d9
Refs #23919 -- Removed misc Python 2/3 references.
2017-01-25 13:59:25 -05:00
chillaranand
d6eaf7c018
Refs #23919 -- Replaced super(ClassName, self) with super().
2017-01-25 12:23:46 -05:00
Tim Graham
632c4ffd9c
Refs #23919 -- Replaced errno checking with PEP 3151 exceptions.
2017-01-25 10:13:08 -05:00
Mads Jensen
ebf34c3cdc
Removed unused variables that are overwritten.
2017-01-25 09:14:05 -05:00
Nick Mavrakis
e5c2e43cc8
Fixed #27743 -- Prevented admin's "+" button icon from overlapping its label.
2017-01-23 19:24:47 -05:00
Claude Paroz
6e55e1d88a
Refs #23919 -- Replaced six.reraise by raise
2017-01-22 20:08:04 +01:00
Tim Graham
d170c63351
Refs #23919 -- Removed misc references to Python 2.
2017-01-21 20:02:00 -05:00
Tim Graham
9e6e32bf5d
Refs #23919 -- Removed django.utils.decorators.available_attrs() usage.
...
It's only needed to workaround a bug on Python 2.
2017-01-21 13:20:17 -05:00
Tim Graham
1b06d5e6f6
Refs #23919 -- Removed pysqlite support (it's Python 2 only).
2017-01-20 18:21:15 -05:00
Claude Paroz
042b7350a0
Refs #23919 -- Removed unneeded str() calls
2017-01-20 14:13:55 +01:00
Tim Graham
4e729feaa6
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
...
These functions do nothing on Python 3.
2017-01-20 08:01:02 -05:00
Claude Paroz
dc8834cad4
Refs #23919 -- Removed unneeded force_str calls
2017-01-20 08:44:31 +01:00
Srinivas Reddy Thatiparthy
eb0b921c29
Refs #23919 -- Removed SessionBase.iterkeys(), itervalues(), iteritems().
...
These methods only work on Python 2.
2017-01-19 14:15:00 -05:00
Tim Graham
9d27478958
Refs #23919 -- Removed docs references to long integers.
2017-01-19 13:19:26 -05:00
Simon Charette
4c5ed3e683
Refs #23919 -- Removed __nonzero__() methods (for Python 2).
...
Thanks Tim for the review.
2017-01-19 11:26:26 -05:00
Claude Paroz
53f3d53ed4
Updated translation catalogs
...
Forward port of 518693bef5
from stable/1.11.x
2017-01-19 17:09:37 +01:00
Simon Charette
cecc079168
Refs #23919 -- Stopped inheriting from object to define new style classes.
2017-01-19 08:39:46 +01:00
Aymeric Augustin
eb422e476f
Refs #23919 -- Removed obsolete __ne__() methods.
...
__ne__() defaults to the opposite of __eq__() on Python 3
when it doesn't return NotImplemented.
2017-01-18 21:44:00 -05:00
Aymeric Augustin
3cc5f01d9b
Refs #23919 -- Stopped using django.utils.lru_cache().
2017-01-18 21:42:40 -05:00
Claude Paroz
2b281cc35e
Refs #23919 -- Removed most of remaining six usage
...
Thanks Tim Graham for the review.
2017-01-18 21:33:28 +01:00
Claude Paroz
7b2f2e74ad
Refs #23919 -- Removed six.<various>_types usage
...
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18 20:18:46 +01:00
Claude Paroz
c716fe8782
Refs #23919 -- Removed six.PY2/PY3 usage
...
Thanks Tim Graham for the review.
2017-01-18 16:21:28 +01:00
Claude Paroz
f3c43ad1fd
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
2017-01-18 13:44:34 +01:00
Claude Paroz
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
2017-01-18 09:55:19 +01:00
Tim Graham
0bf3228eec
Increased the default PBKDF2 iterations for the 1.11 release cycle.
2017-01-17 20:52:05 -05:00
Tim Graham
401c5b2e42
Refs #23957 -- Removed the useless SessionAuthenticationMiddleware.
2017-01-17 20:52:05 -05:00
Tim Graham
d334f46b7a
Refs #26601 -- Removed support for old-style middleware using settings.MIDDLEWARE_CLASSES.
2017-01-17 20:52:04 -05:00
Tim Graham
1691782652
Refs #26509 -- Removed contrib.gis.utils.precision_wkt() per deprecation timeline.
2017-01-17 20:52:04 -05:00
Tim Graham
eba093e8b0
Refs #25847 -- Removed support for User.is_(anonymous|authenticated) as methods.
...
Per deprecation timeline.
2017-01-17 20:52:03 -05:00
Tim Graham
7e63e84572
Refs #25773 -- Removed deprecated geos.MultiPolygon.cascaded_union property.
2017-01-17 20:52:02 -05:00
Tim Graham
997c9f7099
Refs #25665 -- Removed deprecated getter/setter of Point.tuple.
2017-01-17 20:52:02 -05:00
Tim Graham
19d8e64ac3
Refs #25665 -- Removed deprecated getters/setters of Point coordinate properties.
2017-01-17 20:52:02 -05:00
Tim Graham
a0149848f7
Refs #25665 -- Removed GEOSGeometry.get/set_srid() per deprecation timeline.
2017-01-17 20:52:01 -05:00
Tim Graham
d67a46e104
Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.
...
Per deprecation timeline.
2017-01-17 20:52:01 -05:00
Tim Graham
9f9a3d643e
Refs #24126 -- Removed auth views' current_app parameter per deprecation timeline.
2017-01-17 20:52:00 -05:00
Tim Graham
56a5760543
Refs #25184 -- Removed contrib.gis.geoip per deprecation timeline.
2017-01-17 20:52:00 -05:00
Tim Graham
a0d166306f
Removed GeoManager and GeoQuerySet per deprecation timeline.
2017-01-17 20:51:56 -05:00
Tim Graham
e90c745afd
Refs #22993 -- Removed skipIfCustomUser per deprecation timeline.
2017-01-17 14:09:29 -05:00
Mads Jensen
65e321b781
Refs #25809 -- Made a few late review comments for BrinIndex.
2017-01-16 13:23:20 -05:00
Tim Graham
b5511dddd6
Moved unneeded ImproperlyConfigured inner imports.
2017-01-16 12:48:41 -05:00
Dmitry Dygalo
1f10c3994c
Removed unneeded variable in contrib/postgres/fields/jsonb.py.
2017-01-16 06:24:16 -05:00
Mads Jensen
7e299c0e03
Refs #25809 -- Prefered imports from django.db.models.
2017-01-15 22:02:39 +01:00
Mads Jensen
e585c43be9
Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.
...
Thanks Tim Graham and Markus Holtermann for review.
2017-01-15 13:37:18 +01:00
Simon Charette
2e55790838
Refs #25226 -- Cloned ArrayField.base_field on deconstruction.
...
This prevents the base_field from sharing attributes with the one used
during migrations.
2017-01-14 06:31:34 -05:00
Simon Charette
4e48cfc108
Fixed #27709 -- Fixed get_for_models() for proxies with an empty cache.
...
Thanks Peter Inglesby for the report and tests.
2017-01-13 10:02:01 -05:00
Romain Garrigues
ede59ef6f3
Fixed #27518 -- Prevented possibie password reset token leak via HTTP Referer header.
...
Thanks Florian Apolloner for contributing to this patch and
Collin Anderson, Markus Holtermann, and Tim Graham for review.
2017-01-13 09:17:54 -05:00
David Sanders
53bffe8d03
Fixed #24452 -- Fixed HashedFilesMixin correctness with nested paths.
2017-01-11 09:21:29 -05:00
Anton Samarchyan
95f434e2b9
Fixed #27714 -- Fixed small visual artifact when clicking inline edit button in admin.
2017-01-10 11:24:28 -05:00
Adam Chainz
9daf8c43bd
Fixed #26961 -- Made admin checks run when DEBUG=False.
2017-01-10 07:02:13 -05:00
Adam Chainz
d57ecf40eb
Fixed #27673 -- Made admin's checks run at check time instead of during registration.
...
Thanks Morgan Aubert for the test.
2017-01-10 07:02:13 -05:00
Raffaele Salmaso
ed8c0c941d
Fixed #27688 -- Made messages' add_message() request check use ducktyping.
2017-01-09 18:03:10 -05:00
elky
0a47b675b0
Refs #15667 -- Removed hardcoded icon size for related widget wrapper.
...
The template-based widget rendering branch was started years ago.
This is obsolete now.
2017-01-09 09:59:14 -05:00
Simon Charette
d976760260
Fixed #27693 , Refs #27257 -- Fixed iexact lookup on JSONField keys.
...
Thanks Harris Lapiroff for the report.
2017-01-06 19:25:32 -05:00
Tim Graham
c85831e4b7
Fixed #27658 -- Prevented collectstatic from overwriting newer files in remote storages.
...
Thanks revimi for the initial patch.
2017-01-04 12:50:31 -05:00
Tim Graham
8ea541e6a2
Refs #2856 -- Removed redundant escaping in admin's "Perhaps it was deleted?" message.
2017-01-04 10:22:17 -05:00
Ketan Bhatt
f0ef0c49e9
Fixed #26621 -- Corrected simplify_regex()'s handling of named capture groups.
2017-01-03 13:55:11 -05:00
Karen Tracey
27267afc41
Fixed #2856 -- Replaced some 404s with messages in admin.
...
Instead of a 404, return a redirect to admin index page with a message
indicating that the requested object does not exist. This avoids the
admin returning 404 from "Recent Actions" links for deleted objects.
2017-01-03 11:31:05 -05:00
Tim Graham
c04207cd38
Replaced some GIS has_X_method skips with supports_X_aggr/has_X_function.
2017-01-03 09:49:00 -05:00
elky
fdb2309604
Refs #25004 -- Replaced PNGs with SVGs
2017-01-02 19:45:58 +01:00
Claude Paroz
2ebfda38e6
Fixed #25004 -- Updated OpenLayers-based widget to OpenLayers 3
...
Thanks Tim Graham for the review.
2017-01-02 19:45:52 +01:00
Andrew Nester
69b7d4b116
Fixed #27458 -- Fixed invalid sequence/index names when using "USER"."TABLE" db_table on Oracle.
2016-12-30 17:11:12 -05:00
Preston Timmons
b52c73008a
Fixed #15667 -- Added template-based widget rendering.
...
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-12-27 17:50:10 -05:00
Adonys Alea Boffill
8ba01d1e42
Fixed #26543 -- Prevented "confirm form submission" browser prompt when reloading after an admin actions failure.
2016-12-23 17:29:24 -05:00
Anton Samarchyan
da79240050
Fixed #26632 -- Skipped admin.E111 list_display_links check if get_list_display() is overridden.
2016-12-22 09:32:11 -05:00
Henry Dang
6af23a4521
Fixed #27377 -- Clarified that prepopulated_fields doesn't work with OneToOneField.
2016-12-19 08:33:46 -05:00
Sergey Fedoseev
5d28fef8f9
Made NumPoints raise TypeError on MySQL when it's used on fields besides LineStringField.
2016-12-16 10:34:02 -05:00
Tim Graham
3215bc98fe
Refs #27576 -- Fixed running Django's tests if GDAL isn't installed.
2016-12-15 17:38:34 -05:00
Sergey Fedoseev
b01ceae843
Fixed #25938 -- Factored out CPointerBase base class for GEOSBase/GDALBase.
2016-12-15 16:59:08 -05:00
Sergey Fedoseev
4884472447
Fixed #27576 -- Made get_srid_info() fallback to GDAL if SpatialRefSys is unavailable.
2016-12-15 16:36:18 -05:00
Sergey Fedoseev
986c7d522a
Fixed #27497 -- Improved support of geodetic coordinates on SpatiaLite.
...
Area function, Distance function, and distance lookups now work with
geodetic coordinates on SpatiaLite.
2016-12-15 15:31:07 -05:00
Sergey Fedoseev
38a6df555f
Fixed #27602 -- Added Oracle support for BoundingCircle GIS function.
2016-12-15 14:16:09 -05:00
Sergey Fedoseev
5a23cc00f5
Fixed #27607 -- Added Oracle support for AsGML GIS function.
2016-12-15 14:00:08 -05:00
David Hoffman
bf84d042e0
Fixed #27582 -- Allowed HStoreField to store null values.
2016-12-15 10:35:44 -05:00
Michael Scott
1e629928e9
Fixed #27313 -- Allowed overriding admin popup response template.
2016-12-14 18:10:56 -05:00
Sergey Fedoseev
9b79281e31
Fixed #27472 -- Fixed GEOSGeometry('POINT EMPTY').transform crash.
2016-12-08 10:24:05 -05:00
Sergey Fedoseev
a413ef2155
Refs #27472 -- Fixed OGRGeometry('POINT EMPTY').geos crash.
2016-12-08 10:24:05 -05:00
Sergey Fedoseev
65a1f32319
Refs #27472 -- Fixed GEOSGeometry('POINT EMPTY').ogr crash.
2016-12-08 10:24:05 -05:00
Sergey Fedoseev
82fd779af5
Simplified Transform GIS function by setting output_field.
2016-12-08 09:48:26 -05:00
Sergey Fedoseev
f909fa84be
Fixed #25708 -- Fixed annotations with geometry values.
2016-12-07 14:16:29 -05:00
Vinay Karanam
4a246a02bd
Refs #17235 -- Made MultiPartParser leave request.POST immutable.
2016-12-07 08:28:46 -05:00
Sergey Fedoseev
183f501540
Fixed #26789 -- Fixed handling of empty geometries in BaseSpatialField.get_db_prep_save().
2016-12-06 13:58:22 -05:00
Sergey Fedoseev
b90d72facf
Refs #26789 -- Fixed output of WKBWriter for empty points and polygons.
2016-12-06 13:58:22 -05:00
nmhung89
8f76673f34
Fixed #18729 -- Made admin changelist not use distinct() if a list_filter doesn't require it.
2016-12-06 10:38:38 -05:00
Claude Paroz
cc9e429701
Fixed #27557 -- Casted GEOSGeometry only when necessary
...
Thanks Pete Flugstad for the report, and Tim Graham for the review.
2016-11-30 17:49:41 +01:00
Sergey Fedoseev
4464b9b9ad
Fixed #27556 -- Added Oracle support for IsValid function and isvalid lookup.
2016-11-30 11:22:56 -05:00
Sergey Fedoseev
6f43b2b8a5
Removed unneeded GeoAggregate.convert_value() & DatabaseOperations.convert_geom().
2016-11-30 10:56:09 -05:00
Sergey Fedoseev
21322f9271
Fixed #27552 -- Added docs/test for GEOSGeometry.normalize().
2016-11-30 07:39:03 -05:00
Anton Samarchyan
05d2c5a66d
Fixed #27181 -- Allowed contrib.sites to match domains with trailing ".".
2016-11-29 18:17:10 -05:00
Nik Nyby
9992decbf1
Quoted group name in django/contrib/auth/models.py docstring.
2016-11-28 16:41:37 -05:00
Mads Jensen
aa2cb4c622
Refs #26327 -- Renamed JsonAgg to JSONBAgg.
...
Thanks to Christian von Roques for the report.
2016-11-28 06:57:01 -05:00
Adam Chainz
6252fd6314
Fixed #27532 -- Deprecated Model._meta.has_auto_field
2016-11-25 13:24:11 -05:00
Aymeric Augustin
cb7bbf97a7
Fixed #25966 -- Made get_user_model() work at import time.
...
This makes it equivalent to: `from django.contrib.auth.models import User`.
Thanks Aymeric Augustin for the initial patch and Tim Graham for the
review.
2016-11-25 14:15:49 +01:00
elky
9a49fdcd8f
Fixed #27531 -- Added block.super to admin's delete confirmation extrahead blocks.
2016-11-24 06:40:13 -05:00
Jackie Leng
50613d957a
Fixed #26920 -- Made GEOSGeometry equality check consider the srid
2016-11-23 09:23:06 +01:00
Adam Chainz
10d49b96e6
Added tests for contrib.sitemaps.ping_google().
2016-11-22 18:27:19 -05:00
Florian Apolloner
51eaff6d35
Refs #17209 -- Fixed token verification for PasswordResetConfirmView POST requests.
2016-11-21 13:42:25 -05:00
Tim Graham
0d9ff873d9
Fixed #27467 -- Made UserAttributeSimilarityValidator max_similarity=0/1 work as documented.
...
Thanks goblinJoel for the report and feedback.
2016-11-16 17:40:37 -05:00
Sergey Fedoseev
45e01df373
Fixed #27488 -- Added SpatiaLite suppport for IsValid, MakeValid, and __isvalid.
2016-11-16 09:43:54 -05:00
Brandon Chinn
eed6150009
Refs #27003 -- Fixed JSONField crash on converted values.
2016-11-15 18:43:55 -05:00
Brandon Chinn
6573274161
Refs #27003 -- Fixed SimpleArrayField crash on converted values.
2016-11-15 18:10:45 -05:00
Michiel Beijen
364293529b
Fixed #27393 -- Aligned input boxes in admin password reset forms.
2016-11-15 09:49:24 -05:00
Ramin Farajpour Cami
0a63ef3f61
Fixed #27463 -- Fixed E741 flake8 warnings.
2016-11-14 17:40:28 -05:00
Ramin Farajpour Cami
967be82443
Fixed E305 flake8 warnings.
2016-11-14 12:30:46 -05:00
Christian von Roques
cbae4d3184
Fixed #27448 -- Switched use of functions deprecated in PostGIS 2.2.
...
Thanks Claude Paroz and Tim Graham for reviews, and
Mjumbe Wawatu Poe for the initial regression test.
2016-11-12 16:18:22 -05:00
Sergey Fedoseev
faf8a253d3
Fixed #27479 -- Fixed GDALClose prototype. ( #7546 )
2016-11-12 16:25:14 +01:00
Jacob Rief
b3162cab94
Fixed #27386 -- Wrapped admin's readonly fields in <div> rather than <p>.
2016-11-12 10:02:57 -05:00
Daniel Wiesmann
2dc07da497
Fixed #27421 -- Added shape, size, and offset controls to GDALRaster constructor.
...
Thanks Tim Graham for the review.
2016-11-11 07:09:38 -05:00
Andrew Nester
1ce04bcce0
Fixed #27363 -- Replaced unsafe redirect in SessionMiddleware with SuspiciousOperation.
2016-11-01 07:15:56 -04:00
Tim Graham
1bc249c2a6
Fixed #20939 -- Simplified query generation by converting QuerySet to Query.
...
Thanks Anssi Kääriäinen for the initial patch and Anssi, Simon Charette,
and Josh Smeaton for review.
2016-10-28 11:20:23 -04:00
Jon Dufresne
f3ea0c4bbd
Reverted "Fixed #26401 -- Added BaseAuthConfig to use auth without migrations."
...
This reverts commit 1ec1633cb2
as it
doesn't handle ContentType's auth.Permission dependency. Thus, it
doesn't allow auth without migrations.
2016-10-25 17:32:59 -07:00
Julian Andrews
adc93e8599
Fixed #26357 -- Allowed admin popups to work on links added after page load.
2016-10-24 20:17:31 -04:00
Sergey Fedoseev
7d51e406bd
Added MySQLOperations.geom_func_prefix to simplify.
2016-10-24 11:12:47 -04:00
Halil Kaya
2027d6acf7
Fixed #26954 -- Prevented ModelAdmin.has_module_permission()=False from blocking access to the app index page.
2016-10-13 09:11:36 -04:00
Nick Pope
f1664a2734
Replaced '__' with LOOKUP_SEP constant.
2016-10-11 11:14:06 -04:00
Tim Graham
4ba206ca63
Removed unused contrib.admin.utils.remove_trailing_data_field().
...
Unused since 8f30556329
.
2016-10-10 20:57:48 -04:00