Commit Graph

1179 Commits

Author SHA1 Message Date
Daniel Wiesmann c12a00e554 Fixed #26455 -- Allowed filtering and repairing invalid geometries.
Added the IsValid and MakeValid database functions, and the isvalid lookup,
all for PostGIS.

Thanks Tim Graham for the review.
2016-04-09 09:22:30 -04:00
Mikkel Munch Mortensen 4bb3ddbcc6 Fixed #26477 -- Fixed typo in docs/ref/contrib/contenttypes.txt 2016-04-07 13:53:30 -04:00
Markus Amalthea Magnuson 23aa700b78 Fixed #26450 -- Corrected "Save as new" button label in docs. 2016-04-04 08:09:24 -04:00
anna b28c60529b Fixed #26101 -- Allowed introspection of base_field.model in RangeField
Used the same test and fix as in #25867.
This required initializing base_field in RangeField.__init__,
not when setting the attribute.
2016-04-03 16:32:30 +02:00
Daniel Wiesmann 870dd1d38b Fixed #26417 -- Allowed setting GDALBand data with partial values. 2016-03-29 11:08:36 -04:00
Daniel Wiesmann f1db8c36e9 Fixed #26415 -- Allowed deleting nodata value on GDALBands. 2016-03-29 08:06:31 -04:00
Francisco Capdevila 82243e5150 Fixed typo in docs/ref/contrib/postgres/aggregates.txt. 2016-03-28 09:19:21 -04:00
Alexander Gaevsky e0a3d93730 Fixed #25232 -- Made ModelBackend/RemoteUserBackend reject inactive users. 2016-03-23 09:01:48 -04:00
Akshesh 2b31f14d89 Fixed grammatical typos in gis docs. 2016-03-21 11:14:04 -04:00
Tim Graham b3610f38fa Fixed #26345 -- Clarified which RangesFields always return a canonical form. 2016-03-12 12:54:16 -05:00
Tim Graham a496d10a8c Wrapped some lines and added links to docs/ref/contrib/sitemaps.txt. 2016-03-09 10:00:27 -05:00
Claude Paroz c5517b9e74 Fixed #26266 -- Output the primary key in the GeoJSON serializer properties
Thanks Tim Graham for the review.
2016-02-24 16:10:46 +01:00
Sergey Fedoseev 23e1ad537a Fixed #25974 -- Switched GIS docs to 4 spaces indentation. 2016-02-19 09:27:32 -05:00
Sergey Fedoseev dbaa1a6b59 Fixed some code blocks indentation in GIS docs. 2016-02-19 08:34:38 -05:00
Tim Graham b954ad0640 Added intended use in the admin's introduction. 2016-02-18 08:50:22 -05:00
Juan José Conti bb7042cdab Used relative models imports in the GIS tutorial. 2016-02-16 23:24:29 -05:00
userimack 75143fa13f Fixed #26182 -- Removed an obsolete (refs #24917) paragraph in admindocs. 2016-02-09 09:49:12 -05:00
Sergey Fedoseev f8e865d78f Fixed spelling -- super set -> superset. 2016-02-06 09:58:50 +05:00
rowanv a6ef025dfb Fixed #26124 -- Added missing code formatting to docs headers. 2016-02-01 10:42:05 -05:00
Yoong Kang Lim 9644e2e968 Fixed #26156 -- Added createsuperuser instructions to admin docs. 2016-01-30 12:32:24 -05:00
Tim Graham 93897a6a75 Fixed #26137 -- Confirmed support for SpatiaLite 4.2/4.3 and added instructions. 2016-01-29 08:33:00 -05:00
Markus Holtermann 4b0118465b Fixed #26150 -- Sorted app_labels in migrate command output 2016-01-29 10:26:04 +11:00
Elif T. Kus bca9faae95 Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
Tim Graham e519aab43a Fixed #23868 -- Added support for non-unique django-admin-options in docs.
Also documented missing short command line options to fix #24134. This bumps
the minimum sphinx version required to build the docs to 1.3.4.

Thanks Simon Charette for review.
2016-01-14 18:21:33 -05:00
Tim Graham c432dd40bd Refs #25995 -- Documented that JSONField doesn't handle sophisticated serialization. 2016-01-08 19:00:56 -05:00
Collin Anderson 780bddf75b Fixed #20846 -- Decreased User.username max_length to 150 characters. 2016-01-08 18:06:44 -05:00
Claude Paroz cf7894be88 Fixed #21113 -- Made LogEntry.change_message language independent
Thanks Tim Graham for the review.
2016-01-08 20:34:59 +01:00
Marten Kenbeek 16411b8400 Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Tim Graham c70c5f04a4 Fixed #25979 -- Dropped support for PostgreSQL 9.1. 2015-12-23 13:48:48 -05:00
Sergey Fedoseev febe1321da Documented that GDAL is required to initialize GEOSGeometry from JSON. 2015-12-23 07:57:13 -05:00
Sergey Fedoseev 0224f1cb04 Refs #25141 -- Removed note that says that GEOSGeometry.json requires GDAL. 2015-12-23 15:31:28 +05:00
Sergey Fedoseev 5d348bba31 Fixed #25950 -- Added support for GEOSisClosed. 2015-12-22 16:54:02 -05:00
Karen Tracey 5399ccc0f4 Fixed #494 -- Added ability to specify classes on admin inline fieldsets.
This includes the ability to collapse inlines by specifying a class named
'collapse'.
2015-12-21 13:50:06 -05:00
Tim Graham b26d147259 Fixed #25949 -- Documented Psycopg2 version requirement for JSONField. 2015-12-19 07:24:59 -05:00
Sergey Fedoseev c984e2bc15 Fixed #25869 -- Added trim and precision properties to WKTWriter. 2015-12-18 19:44:43 +01:00
Niels Van Och 99a1265a39 Fixed #25063 -- Added path to makemigration's output of migration file. 2015-12-18 11:20:00 -05:00
Sergey Fedoseev e090070761 Fixed a typo in docs/ref/contrib/gis/geos.txt. 2015-12-18 15:36:55 +05:00
Garrison Benson 2ec23a3d41 Refs #13110 -- Fixed typo in Feed class reference. 2015-12-17 09:09:09 -05:00
Sergey Fedoseev 5146e2cf98 Fixed #25662 -- Allowed creation of empty GEOS geometries. 2015-12-14 13:29:38 -05:00
Dotan Agmon a44dc200d0 Fixed incorrect examples in ArrayField docs. 2015-12-10 17:48:38 -05:00
Johannes Hoppe cf546e11ac Fixed #21221 -- Made form Media and static template tag use staticfiles if installed. 2015-12-10 14:30:19 -05:00
Thomas Grainger d638cdc42a Fixed #25165 -- Removed inline JavaScript from the admin.
This allows setting a Content-Security-Policy HTTP header
(refs #15727).

Special thanks to blighj, the original author of this patch.
2015-12-05 15:51:57 -05:00
Sergey Fedoseev 479ba5add2 Fixed #25740 -- Documented GEOSGeometry operators. 2015-12-04 12:37:33 -05:00
Sergey Fedoseev 25f5b5c19d Fixed #25853 -- Added support for GeoHash function on SpatiaLite. 2015-12-04 08:09:21 -05:00
Sergey Fedoseev 395af23ac1 Refs #25659 -- Added missing docs for Difference/Intersection/SymDifference functions.
Complements 7127eb287f.
2015-12-03 12:59:01 -05:00
Josh Soref 93452a70e8 Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
Sergey Fedoseev 0825f77f76 Fixed #25836 -- Added support for MakeLine aggregate on SpatiaLite. 2015-12-02 17:25:33 -05:00
Jon Dufresne 7aabd62380 Fixed #25778 -- Updated docs links to use https when available. 2015-12-01 08:01:34 -05:00
Sergey Fedoseev f920be7c32 Fixed #25773 -- Deprecated the geos.MultiPolygon.cascaded_union property. 2015-11-25 17:31:24 -05:00
Sergey Fedoseev a3708fda35 Fixed #25649 -- Documented that all GEOSGeometry constructors take srid kwarg. 2015-11-25 16:28:54 -05:00
Daniel Wiesmann 8f5904560a Fixed #25734 -- Made GDALBand min and max properties use GDALComputeRasterStatistics.
Thanks Sergey Fedoseev and Tim Graham for the review.
2015-11-25 13:40:39 -05:00
Sergey Fedoseev 97e1d24330 Refs #25739 -- Lessened the prominence of geos.fromstr() in the docs. 2015-11-23 17:22:37 -05:00
Sergey Fedoseev ccc8f67b77 Fixed #25722 -- Added the GEOSGeometry.covers() method. 2015-11-20 12:36:03 -05:00
Tim Graham ad167502f3 Fixed #25549 -- Documented auth_user_password_change URL. 2015-11-18 19:35:56 -05:00
Sergey Fedoseev 034dfbfc05 Fixed #25654 -- Added the GEOSGeometry.unary_union property. 2015-11-18 19:17:16 -05:00
Alex Morozov 5abed864ee Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does. 2015-11-17 10:16:29 -05:00
Agnieszka Lasyk 1f8dad6915 Fixed #25755 -- Unified spelling of "website". 2015-11-16 06:44:14 -05:00
René Fleschenberg 2c72710111 Fixed #25531 -- Documented that admin_order_field supports lookups. 2015-11-14 17:31:21 -05:00
Sergey Fedoseev 34669ea6b8 Fixed #25728 -- Fixed description of GEOSGeometry.contains(). 2015-11-11 09:34:58 -05:00
Sergey Fedoseev f98126a05a Fixed #25660 -- Documented GEOSGeometry.dims 2015-11-05 10:33:25 +01:00
Alex Morozov 99c58c27d5 Fixed #24244 -- Documented contrib.admin.models.LogEntry 2015-11-05 09:47:18 +01:00
Tim Graham 4dea29ec7b Updated admindocs instructions for the deprecation of patterns(). 2015-11-03 14:43:30 +00:00
Sergey Fedoseev 7127eb287f Fixed #25659 -- Added missing support for MySQL 5.6.1 GIS functions
Added support for ST_Difference/ST_Intersection/ST_SymDifference.
2015-11-02 19:25:53 +01:00
Sergey Fedoseev b78226cd3d Fixed #25655 -- Dropped support for GEOS < 3.3 2015-11-01 20:41:52 +01:00
Sergey Fedoseev 5ce84b8044 Refs #25632 -- Corrected database support docs for GeoDjango DB functions. 2015-10-31 10:22:32 -04:00
Sergey Fedoseev cdb17dcb64 Refs #25636 -- Updated instructions for libspatialite source installation 2015-10-31 14:22:34 +01:00
Sergey Fedoseev 8ad923b9d0 Fixed #25636 -- Dropped support for SpatiaLite < 3.0 2015-10-31 14:22:34 +01:00
Tim Graham e19bd086d6 Fixed #24019 -- Fixed inaccurate docs about GenericRelation not supporting aggregation.
This works at least as far back as Django 1.6 according to the test
added in refs #10870.
2015-10-30 10:35:03 -04:00
Sergey Fedoseev 9ae8da0e37 Fixed #25641 -- Removed section about adding Google projection to spatial_ref_sys table 2015-10-30 10:05:48 +01:00
Tim Graham 15ef1dd478 Fixed #20846 -- Increased User.username max_length to 254 characters.
Thanks Collin Anderson and Nick Sandford for work on the patch.
2015-10-29 08:58:49 -04:00
Sergey Fedoseev 0bd067d095 Fixed #25632 -- Documented missing version requirements for GeoDjango DB functions. 2015-10-29 08:36:10 -04:00
Sergey Fedoseev 1a10ae45b1 Fixed required SpatiaLite version in docs.
Refs bc0aba7786 which dropped
support for SpatiaLite < 2.4.
2015-10-29 07:57:12 -04:00
Bryan Marty 455034d4df Fixed #21516 -- Updated imports paths for some formset functions/classes.
Since refs #21489, FormSet classes and factories are exposed on the
django.forms package.
2015-10-28 15:44:53 -04:00
Claude Paroz 40a2262506 Added versionadded directive for GDALRaster.srid
Complement to 48548d1a47.
2015-10-28 15:35:23 +01:00
Daniel Wiesmann 48548d1a47 Refs #25588 -- Added the srid property to GDALRaster
Geometry objects have an srid property, so this addition makes the raster api
more similar to the geometries api.
2015-10-28 15:27:19 +01:00
Tim Graham 9c5e272860 Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
Tim Graham e0c0080e29 Fixed typo in docs/ref/contrib/admin/index.txt 2015-10-26 09:03:04 -04:00
Curtis Maloney 35440ceab7 Optimized docs images and documented the process. 2015-10-24 14:57:21 -04:00
Sergey Fedoseev a7bb5af50b Fixed #25583 -- Allowed calling `transform` with `CoordTransform` even if SRID is invalid. 2015-10-24 11:39:24 -04:00
Sergey Fedoseev 310049a5ae Fixed #25603 -- Made clear that geometry's SRID is meant in docs for GEOSGeometry.transform. 2015-10-24 10:53:48 +02:00
Dheerendra Rathor 59e85f09c6 Fixed #25519 -- Made the admin "View site" link point to sites running on a subpath.
Used request.META['SCRIPT_NAME'] as the site_url if it hasn't been
customized from the default value of '/'.
2015-10-22 13:51:00 -04:00
Sergey Fedoseev 92c1ae1b0b Fixed quotes in GeoQuerySet aggregates examples. 2015-10-13 23:39:29 -04:00
Claude Paroz 533c10998a Added precision about GeoJSON field outputs 2015-10-12 21:48:29 +02:00
Claude Paroz 617b1a21f5 Fixed #25498 -- Documented ST_Distance/ST_Distance_Sphere difference
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-11 12:24:33 +02:00
Claude Paroz 37d06cfc46 Fixed #25499 -- Added the ability to pass an expression in distance lookups
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-09 15:27:47 +02:00
Tim Graham e0837f2cb1 Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. 2015-10-06 12:38:34 -04:00
Claude Paroz 41ed6338a4 Upgraded OpenLayers version from 2.13 to 2.13.1
Thanks Daniel Hahler for the initial patch.
2015-10-03 12:36:39 +02:00
Andrew Artajos d2ef521a53 Fixed #25398 -- Revised instances of os.path.join()
Replaced occurrences of os.path.join(BASE_DIR, 'folder/subfolder')
to os.path.join(BASE_DIR, 'folder', 'subfolder')
2015-10-03 09:07:25 +02:00
Tim Graham b47552b445 Made cosmetic cleanups to docs/ref/contrib/contenttypes.txt 2015-09-29 19:40:35 -04:00
Tim Graham 4cd2bdae07 Fixed #24323 -- Documented @admin.register can't be used with super(XXXAdmin in __init__(). 2015-09-28 07:20:46 -04:00
Tim Graham 54848a96dd Removed versionadded/changed annotations for 1.8. 2015-09-23 19:31:11 -04:00
Tim Graham 75374d3797 Refs #24099 -- Removed compatibility shim for ContentType.name field. 2015-09-23 19:31:10 -04:00
Tim Graham 5d383549ee Refs #24152 -- Removed deprecated GeoQuerySet aggregate methods.
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham 3af9b70028 Refs #22789 -- Removed contrib.webdesign per deprecation timeline. 2015-09-23 19:31:09 -04:00
ramez 1335aa2fb9 Fixed #15760 -- Added JavaScript events for admin inline forms. 2015-09-21 15:34:44 -04:00
Unai Zalakain aac2a2d2ae Fixed #13110 -- Added support for multiple enclosures in Atom feeds.
The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is
then used by the feed builder. If the feed is a RSS feed, an exception is
raised as RSS feeds don't allow multiple enclosures per feed item.

The ``item_enclosures`` hook defaults to an empty list or, if the
``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure``
built from the ``item_enclosure_url``, ``item_enclosure_length``, and
``item_enclosure_mime_type`` hooks.
2015-09-18 18:31:58 -04:00
Tim Graham d074926ca1 Dropped support for Oracle 11.1. 2015-09-18 09:18:09 -04:00
Tim Graham abd33d80db Removed obsolete pysqlite documentation.
These steps are no longer needed as of pysqlite 2.7.0.
76f34850be
2015-09-17 18:41:37 -04:00
Stephen Paulger 443dffbeb2 Remove unnecessarily rude terminology. 2015-09-16 12:05:28 +01:00
Tim Graham 64d7a553e1 Fixed #25369 -- Corrected syndication's get_object() example. 2015-09-14 15:30:01 -04:00